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.player.target = parent func _on_mouse_exited(): if !parent.do_scanning: return if GlobalVariables.is_snapping: GlobalVariables.player.target = null