RingOfRaces/MiscButtons.gd
2020-10-06 14:03:54 +02:00

15 lines
332 B
GDScript

extends TouchScreenButton
#func _input(always):
func _physics_process(delta):
if Input.is_action_pressed("move_left") and Input.is_action_pressed("move_right"):
show()
elif Input.is_action_pressed("ui_end"):
hide()
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass