# Trigger Sustain Points in Unity

**URL:** https://qa.fmod.com/t/trigger-sustain-points-in-unity/21395
**Category:** FMOD Engine
**Tags:** unity, csharp
**Created:** [March 21, 2024, 6:32pm UTC](https://qa.fmod.com/t/trigger-sustain-points-in-unity/21395 "2024-03-21T18:32:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Aknstler](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/aknstler/32/6414_2.png) [@Aknstler](https://qa.fmod.com/u/Aknstler)
#### Post date: [March 21, 2024, 6:32pm UTC](https://qa.fmod.com/t/trigger-sustain-points-in-unity/21395/1 "2024-03-21T18:32:30Z")

</div>

Hi, I’ve created an Event Instance and started, but when I try to trigger the sustain point by EventInstance.triggerCue(); like specified in the documentation I get this error in Unity  
‘EventInstance’ does not contain a definition for ‘triggerCue’ and no accessible extension method ‘triggerCue’ accepting a first argument of type ‘EventInstance’ could be found (are you missing a using directive or an assembly reference?)  
What am I doing wrong?

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [March 22, 2024, 12:16am UTC](https://qa.fmod.com/t/trigger-sustain-points-in-unity/21395/2 "2024-03-22T00:16:12Z")

</div>

Hi,

Could I get a link to the documentation you reference? I believe you are looking for [EventInstance::keyOff()](https://fmod.com/docs/2.02/api/studio-api-eventinstance.html#studio_eventinstance_keyoff).

Hope this helps!
