edbeeching's picture
edbeeching HF staff
Upload . with huggingface_hub
c21eb24
raw history blame
No virus
361 Bytes
extends Spatial
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
onready var player = $AnimationPlayer
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
func set_animation(anim):
if player.current_animation == anim:
return
player.play(anim)