extends Area func _ready(): var radius = get_parent().detection_range scale = Vector3(radius,1.0,radius) func _unhandled_key_input(_event): if Input.is_action_just_pressed("toggle_radar"): visible = !visible