extends Area2D var parent : NumberNode func _ready(): parent = $".." func _on_mouse_entered(): if !parent.do_scanning: return if GlobalVariables.is_snapping && GlobalVariables.player.legal && GlobalVariables.gameloop.current_turns < GlobalVariables.gameloop.turns: GlobalVariables.player.target = parent func _on_mouse_exited(): if !parent.do_scanning: return if GlobalVariables.is_snapping: GlobalVariables.player.target = null