7 lines
161 B
GDScript
7 lines
161 B
GDScript
extends StaticBody3D
|
|
|
|
@onready var animation_player: AnimationPlayer = $AnimationPlayer
|
|
|
|
func _on_interaction_area_interacted():
|
|
animation_player.play("press")
|