I've found this a bit confusing, as not all examples I've found are for playing an animation.
I have a Spike Scene, which has an Area2D as root. It detects if the Player enters it.
I have a Player Scene, which has is a KinematicBody2D and has an AnimationPlayer node with animation.
Both the Spikes and Player nodes are Instanced in a Main Scene/Level.
I just wish to know how to access the Player Scene with it's AnimationPlayer node and play the animation.
I have seen the method frequently that I'm told isn't ideal, using (../) to move up the Scene Tree, which seemed quite easy. Other examples show a way to make the Player Scene available to other scripts, but I didn't find an example that was to do with animation. It may be similar.
Could someone show me what to do in GDScript please?