Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | BarrettAKD |
Hi, I’m new at Godot -and in programming in general- and I can’t figure out how to do this, I already read the documentation and still can’t get it.
This is all I have at te moment:
extends Area2D
onready var _player = $AnimatedSprite
func _ready():
_player.play(“Idle”)
func _on_player_animation_finished():
if _player.frame == 299:
_player.play(“SitDown”)