Nodes are disappearing when I put AnimationPlayer on them

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

Hi ! I need your precious help…

I’ve been trying to put animation player on my nodes on a new project. I never had an issue with them. I dont know why, but in this project, when i put an AnimationPlayer as a child of a node, the node can’t show in my project when i press play. It’s in the editor, but when i start the game, it’s simply not there…

Is there something i’m doing wrong ? thanks a lot :slight_smile:

Godot 2? …Uh, most of us are using 3…

exuin | 2021-04-26 03:07

Is the animation playing? Maybe it is on an empty frame. Are you sure you don’t want to use animatedSprite?

blohod | 2021-04-26 06:33

:bust_in_silhouette: Reply From: Hosea

Just got the same issue. I was changing the position of my nodes through code. So even if I set the animation to default it was not working
So I manually played the animation in the code after changing the position and it worked for me