# FMOD Studio Suite iOS - triggerCue() deprecated?

**URL:** <https://qa.fmod.com/t/fmod-studio-suite-ios-triggercue-deprecated/17870>\
**Category:** FMOD Engine\
**Tags:** ios\
**Created:** [October 29, 2021, 8:19pm UTC](https://qa.fmod.com/t/fmod-studio-suite-ios-triggercue-deprecated/17870 "2021-10-29T20:19:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sniderware](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Sniderware](https://qa.fmod.com/u/Sniderware)\
**Post date:** [October 29, 2021, 8:19pm UTC](https://qa.fmod.com/t/fmod-studio-suite-ios-triggercue-deprecated/17870/1 "2021-10-29T20:19:28Z")

</div>

I shipped my iOS game ("Finished! by Friedemann Friese) with FMOD studio engine 2.0. I’ve updated FMOD to 2.0.2, but I see now that triggerCue() is no longer part of fmod\_studio.hpp for iOS though (I used the fmodstudioapi20203ios-installer) so I can’t successfully compile any more.

There’s a new function protoype in the .hpp near there called keyOff() but no sign of triggerCue() or of clues about what to do without it.

`FMOD_RESULT F_API triggerCue(); // What do I use instead of this?`

I’ve spent an hour on this now I can’t find anything in the change docs or forum discussions etc. Am I missing something because this seems important! 🙂 It’s important to me anyway, because my game is broken. I thought there might be comments in the include files or docs on the DMG describing how to move forward with functions that have been deprecated, but I can’t find anything. If you can point me in the right direction I’d be very thankful.

---

<div class="post-metadata">

**Author:** ![tristanjl](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tristanjl/32/261_2.png) [@tristanjl](https://qa.fmod.com/u/tristanjl)\
**Post date:** [October 29, 2021, 8:55pm UTC](https://qa.fmod.com/t/fmod-studio-suite-ios-triggercue-deprecated/17870/2 "2021-10-29T20:55:45Z")

</div>

TriggerCue was renamed to KeyOff, the functionality is still the same.

You can find it mentioned in the release notes - [https://www.fmod.com/resources/documentation-api?version=2.02&page=welcome-revision-history.html](https://www.fmod.com/resources/documentation-api?version=2.02&page=welcome-revision-history.html)

We only make api changes like this in major versions (2.01 to 2.02 for instance, but not 2.02.00 to 2.02.03), so it’s worth checking the revision history when swapping major versions)

---

<div class="post-metadata">

**Author:** ![Sniderware](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Sniderware](https://qa.fmod.com/u/Sniderware)\
**Post date:** [October 29, 2021, 9:02pm UTC](https://qa.fmod.com/t/fmod-studio-suite-ios-triggercue-deprecated/17870/3 "2021-10-29T21:02:03Z")

</div>

Ah, got it – thanks! This is my first time using FMOD and I didn’t realize keyOff() meant the same thing. Thanks for answering my question so quickly.

Ah – I see what I did wrong. I went to the FMOD Studio revision history, but not to the normal FMOD API revision history. [https://www.fmod.com/resources/documentation-studio?version=2.02&page=welcome-to-fmod-studio-revision-history.html](https://www.fmod.com/resources/documentation-studio?version=2.02&page=welcome-to-fmod-studio-revision-history.html)
