forked from funnymemellama/funnymemellama
18 lines
402 B
GDScript3
18 lines
402 B
GDScript3
|
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
|