Hi, I'm trying to set the animation of a sprite based on a global variable. I've set up a Player sprite with an animation called "playerA".
I've set a Global String SelectedPlayer = "playerA", and try to use this On Start on Layout like this:
Player Set animation to SelectedPlayer, but this is not working.
If I do Set animation to "playerA" it works correctly, but I need to set this dynamically via variables.
If I alert the SelectedPlayer string it says "playerA", so the variable is available and correct. Is this a bug?