Get the Total number of events in the Project

Hi is there anywhere I can see a number that says the total number of events in the project in the Studio or a total number of events in a bank? so that I can reference it inside my engine and make sure everything is loading correctly.

Thanks

Hi,

To get the total number of events in Studio, you can open the console and run the following command:

studio.project.model.Event.findInstances().length

To get the number of events in a bank, select your bank in the Banks tab, then run the following console command:

studio.window.browserCurrent().events.length

Hope that helps!