Godot Version
Godot 3.6
Question
my animation sprite isn’t showing I’ve seen tutorial’s but they are for Godot 4 and they say to press the auto-play button but that’s not in Godot 3.6 with no frames showing my character doesn’t show how do I set it to auto-play?
There’s no autoplay property in 3.6 so you should just call the play()
function in the _ready()
function.
1 Like
can you paste in a line of code? I’m new to Godot
#drag & drop your animated sprite node to the script to give the $ sign ig
@onready var animatedsprite = $AnimatedSprite2D
func _ready():
animatedsprite.play("any_animation")
By the way why are you using an old update? Godot 4.4 has vulkan renderer, etc…
thanks for the code but I’ve got errors:(
(Node not found: “amimatedsprite” (relative to “/root/player/AnimatedSprite”).)
1 Like
I tried without the typo and nothing changed
If the script is already on the AnimatedSprite2D, then you can just call play()
directly.