# Where can I find additional examples of scripts?

**URL:** <https://qa.fmod.com/t/where-can-i-find-additional-examples-of-scripts/16542>\
**Category:** FMOD Studio\
**Tags:** javascript\
**Created:** [December 10, 2020, 10:38pm UTC](https://qa.fmod.com/t/where-can-i-find-additional-examples-of-scripts/16542 "2020-12-10T22:38:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [December 23, 2020, 12:54am UTC](https://qa.fmod.com/t/where-can-i-find-additional-examples-of-scripts/16542/2 "2020-12-23T00:54:18Z")

</div>

A useful feature is to use `.dump()` on variables you are using in the console to get an idea what properties are available.

For events, they have a `banks` array for every bank they are assigned to. You can iterate through this to build only those particular banks. For example

```auto
var event = studio.window.browserCurrent(); // Gets the currently selected event in the browser
var allBanks = event.banks;
allBanks.forEach(function(bank) {
    studio.project.build(bank.name);
});

```

---

_[View the full topic](https://qa.fmod.com/t/where-can-i-find-additional-examples-of-scripts/16542)._
