diff --git a/scenes/game/cursor.gd b/scenes/game/cursor.gd index 23f78e2..ccf8426 100644 --- a/scenes/game/cursor.gd +++ b/scenes/game/cursor.gd @@ -23,7 +23,7 @@ func find_closest_target() -> Draggable: var min_distance: float = INF var to_drag: Node = null for body in bodies: - for target in body.find_children("Draggable", "Draggable", false, false): + for target in body.find_children("*", "Draggable", true, false): var distance = position.distance_to(target.position) if distance < min_distance: min_distance = distance