# Magnet Region is slow to trigger

**URL:** <https://qa.fmod.com/t/magnet-region-is-slow-to-trigger/18877>\
**Category:** FMOD Studio\
**Created:** [June 11, 2022, 7:32pm UTC](https://qa.fmod.com/t/magnet-region-is-slow-to-trigger/18877 "2022-06-11T19:32:12Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [June 22, 2022, 6:00am UTC](https://qa.fmod.com/t/magnet-region-is-slow-to-trigger/18877/8 "2022-06-22T06:00:10Z")

</div>

Is the following sufficient to explain the latency you’re seeing?

> [@Transitions latency when changing parameter](https://qa.fmod.com/t/transitions-latency-when-changing-parameter/14383/35):
>
> FMOD internally updates every 20ms unless you change this setting via FMOD\_STUDIO\_ADVANCEDSETTINGS. To ensure no gaps in timeline playback we schedule double that time in advance, so 40ms. When you have a condition on the timeline it is evaluated ahead of time, this is probably the latency you are seeing. To reduce this latency you can change the Studio update rate to 10ms, halving the latency. This latency is called scheduling lookahead.
> 
> If there is a particular EventInstance where you want to override these settings take a look at EventInstance::setProperty with FMOD\_STUDIO\_EVENT\_PROPERTY\_SCHEDULE\_DELAY and FMOD\_STUDIO\_EVENT\_PROPERTY\_SCHEDULE\_LOOKAHEAD. Use these with care though, as I mentioned above setting too small could cause sample inaccuracy.

---

_[View the full topic](https://qa.fmod.com/t/magnet-region-is-slow-to-trigger/18877)._
