using Animation Player,

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

i have an scene like this

kinematicbody2d
-AnimatedSprite
-CollisionShape
.AnimationPlayer

in this scene i control my player behaviour, and sprites etc

then i have my main scene

Mainscene
-kinematicbody2d
-animationPlayer

in my Main scene i want to accede the animationPlayer of my Player so i can make a simple cutscene but i cant find how to access to it. Can anybody help me?

:bust_in_silhouette: Reply From: Gluon

I dont fully understand what you are asking and I am not sure if accede was another word or was intended to be access? If you want a cutscene I would suggest that the best way to do that is to either

a) have a separate scene specifically set up to play the cutscene and change scenes to this or

b) have a canvas layer with an animation player in it which you can make visible over the underlying game when it is triggered.

I am not sure what you are meaning by access the player for a cutscene though.