I have a relative transition to a marker (or a region, i’ve tried both). I have a transition timeline - is there a way to get a callback when the transition timeline is done? (right now i’m just watching beats - in theory i could use the bar position to figure it out, but it’s a bit tricky for me as i’m in C# land)
There’s currently no way to directly receive a callback on exiting a transition timeline. I can definitely see the use for it, so I’ve added it to our feature tracker.
The usual way we’d recommend addressing this case is to use timeline marker callbacks instead, either by using the destination marker itself, or by adding a separate marker, to denote the transition:
This should work for transition timelines on regions/loops/magnets as well. However, it gets a little more complex when the destination handle has been dragged into the transition timeline. In this case the marker callback will fire when the playback position reaches the destination handle, not the transition timeline exit, which may or may not be what you want:
You can work around this by adding a separate marker to where the transition actually ends, but this will fire under all circumstances, not just when the transition has ended:
If you’re having trouble getting a callback on a transition end to work exactly how you’d like, feel free let me know how your event is set up in more detail, and how you want your code to function in response to the transition.