funnymemellama/Debug.gd

18 lines
402 B
GDScript3
Raw Normal View History

extends Node
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _input(event: InputEvent):
if event is InputEventKey:
if event.keycode == KEY_F1 and not event.pressed:
$Mapentities.visible = not $Mapentities.visible