File size: 151 Bytes
5de14c4
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
extends Node3D


@onready var player = $AnimationPlayer

func set_animation(anim):
	if player.current_animation == anim:
		return
	
	player.play(anim)