Need Help Playing an Animation Using a Button Node

I am having trouble playing an animation using a button Node. It is a competly new scene, so i do not know what to do next. Any advice will be appreciated!

Please give us more information. In the base template for a help post, it specifically asks you to include your godot version (just saying 4 is not enough, there are a lot of Godot 4 versions), and overall give us relevant code bits. What you tried so far, what didn’t work etc…

Sorry! I am very new to this forum and did not know i needed to specify the version. I am currently using version 4.7.1 (Mobile). Thanks for the feed back

It’s good to know the version, but we still need a lot more information about your problem. What are you trying to solve that didn’t work? What have you tried so far?

I am trying to play an animation when i press the button node. I just need to figure out the code and steps in order to do this. So far, the only node i have is the Scene node.

Sorry, I am not very good at being desciptive​:sweat_smile:

Could you tell us what you mean by “animation”?

Is this an AnimatedSprite2D?
Are you trying to use an AnimationPlayer?
Is this some 3D animation?

It is a 2D animation. Hope that helps!

It doesn’t, there are many ways you can interpret what an “animation” is.
I recommend finishing the basic tutorial game first, it walks you through on how to use the engines basic features, as it seems like you tried to jump head first into things:

Thanks for the advice! What i mean by “animation” is an animation i created in a different software (EG: IbisPaint) and play it the Scene by clicking the button node in game.

I am really sorry if i still am not being as clear as i need to be, hope you have a great day!

That tutorial should help, it covers plenty. You could use an AnimatedSprite2D or an AnimationPlayer, and the signal pressed can be connect from the button to a function that plays animations.