extends Node2D # Called when the node enters the scene tree for the first time. func _ready() -> void: get_window().grab_focus() # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: pass func _on_triggerSignal(body: Variant, intentMessage: Variant) -> void: print("GC knows about a trigger!") if not body is Player and intentMessage == "destroy": body.queue_free()