extends TextureRect @onready var anim_player : AnimationPlayer = $AnimationPlayer func play_animation(anim : String) -> void: anim_player.play(anim)