How to access animations in sub state machines in AnimationTree

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mordraeid

I’ve been searching all over the web for docs and similar questions but cant seem to access an animation inside a sub state machine using the travel function. Is there a correct workflow for this?

:bust_in_silhouette: Reply From: davidoc

It’s not possible to travel from a parent state machine to a sub state machine. You need to get the playback object for the sub state machine and use the travel method, without seeing your setup is not possible to say how you should get it, but if you look at the properties of your AnimationTree you can see the path to get it.