Can't assign animated_sprite_2d property to a walk node

Hi there,

Completely new to Godot and have been following this tutorial - https://www.youtube.com/watch?v=it0lsREGdmc&t=2823s. Stuck at the 47:01 mark where he asks to select animatedsprite2d in the walk node, but its not appearing in the selection pop up. I tried copying the idle node which has both the player and animatedsprite2d properties selected, but that didn’t work.

Thanks in advance!

Alex

Question

Ask your question here! Try to give as many details as possible

@export var animated_sprite_2d: AnimatableBody2D
You have set the wrong type hint in your script, it should be AnimatedSprite2D instead of AnimatableBody2D.

My god I’m so bad at this! Many thanks for that @hyvernox. Hopefully I’ll learn from this very obvious and easy error. Cheers again! Alex