You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Undertaker-Simulator/scenes/coffin_slide_out.gd

9 lines
279 B

extends Node3D
@onready var animation_player: AnimationPlayer = $AnimationPlayer
func _input(event: InputEvent) -> void:
if event.is_action_pressed("slide_out"):
animation_player.play("CoffinSlideOut")
if event.is_action_pressed("ui_left"):
animation_player.play("RESET")