fmod_MarkerTrack_addRegion
Add a region to a marker track at a given position and length, with configurable name and loop mode.
Instructions
Adds a destination region to the marker track at the given position with the given length. Returns the newly created region's ManagedObject . [method · MarkerTrack.addRegion]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The string value to assign the new region. | |
| length | Yes | The numerical length of the new region. | |
| target | Yes | Object to act on: a path (e.g. 'event:/SFX/Hit', 'bank:/Master') or a '{guid}'. | |
| loopMode | Yes | A number representing the region's loop mode. Defaults to project.regionLoopMode.Looping if loopMode is undefined . The loop mode can be set by passing in a valid loopMode argument, as described by the Project.regionLoopMode enum. | |
| position | Yes |