I'd like to know how to play an animation that is in another Scene/Script.
In other words, I have multiple springs for a Player to launch from.
Scene Tree example:
MainLevel
.....Player
.....Springs
...........Spring1
...........Spring2
...........Spring3
...........Spring4
The Spring script can play it's animation with:
$AnimatedSprite.play("SpringBounce")
I can't Hard Reference each node in the Scene, I need a way to trigger the animation in the main Spring script from the Player Script.
Thanks.