# How can I "New 3D Event" by command

**URL:** <https://qa.fmod.com/t/how-can-i-new-3d-event-by-command/13740>\
**Category:** FMOD Studio\
**Created:** [March 6, 2018, 6:13am UTC](https://qa.fmod.com/t/how-can-i-new-3d-event-by-command/13740 "2018-03-06T06:13:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xuan](https://avatars.discourse-cdn.com/v4/letter/x/a87d85/32.png) [@Xuan](https://qa.fmod.com/u/Xuan)\
**Post date:** [March 6, 2018, 6:13am UTC](https://qa.fmod.com/t/how-can-i-new-3d-event-by-command/13740/1 "2018-03-06T06:13:15Z")

</div>

How can I “New 3D Event” by command ?Thanks

---

<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:** [March 6, 2018, 10:22pm UTC](https://qa.fmod.com/t/how-can-i-new-3d-event-by-command/13740/2 "2018-03-06T22:22:35Z")

</div>

Hi Dic,

You will need to use `studio.project.create("Event")` and then add a spatializer to the master track. By default, all events created are placed in the root events folder and don’t have any additional audio tracks. Here’s an example:

```
myEvent = studio.project.create("Event");
myEvent.name = "My New Event";
myEvent.masterTrack.mixerGroup.effectChain.addEffect("SpatialiserEffect");

```

For more information, please see our documentation on scripting:

[https://www.fmod.com/resources/documentation-studio?page=scripting-terminal-reference.html](https://www.fmod.com/resources/documentation-studio?page=scripting-terminal-reference.html)

Thanks,  
Richard

---

<div class="post-metadata">

**Author:** ![Xuan](https://avatars.discourse-cdn.com/v4/letter/x/a87d85/32.png) [@Xuan](https://qa.fmod.com/u/Xuan)\
**Post date:** [March 7, 2018, 1:35pm UTC](https://qa.fmod.com/t/how-can-i-new-3d-event-by-command/13740/3 "2018-03-07T13:35:36Z")

</div>

> [@](#):
>
> Hi Dic,
> 
> You will need to use `studio.project.create("Event")` and then add a spatializer to the master track. By default, all events created are placed in the root events folder and don’t have any additional audio tracks. Here’s an example:
> 
> ```
> myEvent = studio.project.create("Event");
> myEvent.name = "My New Event";
> myEvent.masterTrack.mixerGroup.effectChain.addEffect("SpatialiserEffect");
> 
> ```
> 
> For more information, please see our documentation on scripting:
> 
> [https://www.fmod.com/resources/documentation-studio?page=scripting-terminal-reference.html](https://www.fmod.com/resources/documentation-studio?page=scripting-terminal-reference.html)
> 
> Thanks,  
> Richard

Thanks!!
