# Is it possible to get region length?

**URL:** <https://qa.fmod.com/t/is-it-possible-to-get-region-length/15243>\
**Category:** FMOD Engine\
**Created:** [November 22, 2019, 2:16pm UTC](https://qa.fmod.com/t/is-it-possible-to-get-region-length/15243 "2019-11-22T14:16:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farror](https://avatars.discourse-cdn.com/v4/letter/f/ee59a6/32.png) [@Farror](https://qa.fmod.com/u/Farror)\
**Post date:** [November 22, 2019, 2:16pm UTC](https://qa.fmod.com/t/is-it-possible-to-get-region-length/15243/1 "2019-11-22T14:16:24Z")

</div>

I just started to use fmod and wanted to use marker & callbacks to trigger in game events which i managed to do.  
However i can’t figure out how to get the length or end time of a region.  
Is it possible ?

---

<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:** [November 25, 2019, 2:05am UTC](https://qa.fmod.com/t/is-it-possible-to-get-region-length/15243/2 "2019-11-25T02:05:21Z")

</div>

You can get the length of a region when using the FMOD Studio application but not at runtime.

Select the region in the event editor and open the console (window \> Console).

```auto
region = studio.window.editorCurrent(); // Get the selected region
region.length; // How long the region is
region.position; // The start position of the region
region.position + region.length; // The end position of the region

```

---

<div class="post-metadata">

**Author:** ![tgybels](https://avatars.discourse-cdn.com/v4/letter/t/aeb1de/32.png) [@tgybels](https://qa.fmod.com/u/tgybels)\
**Post date:** [February 10, 2026, 11:21am UTC](https://qa.fmod.com/t/is-it-possible-to-get-region-length/15243/3 "2026-02-10T11:21:29Z")

</div>

Sorry for reviving an old thread, but we ran into the same issue and had a quick question.

Is it still not possible to pass a region’s length or end time to Unreal Engine at runtime and read that data there? Is this information exposed through FMOD, or would this require modifying the Unreal FMOD plugin?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [February 18, 2026, 3:37am UTC](https://qa.fmod.com/t/is-it-possible-to-get-region-length/15243/4 "2026-02-18T03:37:28Z")

</div>

The FMOD API does not currently have the ability to give you the length of a region at runtime, although there are ways that you could work around this:

- Add Notes/User Properties to the FMOD Studio Event which can be queried from the API.
- Add timeline markers to indicate the length of a region.

There may be other ways that people have come up with too.
