class_name DeadLine extends RayCast2D signal game_lost func check_death() -> void: force_raycast_update() if is_colliding(): emit_signal("game_lost") func _on_Grid_has_moved() -> void: check_death()