extends RayCast2D signal game_lost func check_death(): force_raycast_update() if is_colliding(): emit_signal("game_lost") func _on_Grid_has_moved(): check_death()