How to get a list of all the scenes (nodes) that are in a certain radius from the current scene (node)?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Ussderydmjr

How to get a list of all the scenes (nodes) that are in a certain radius from the current scene (node) from which the search is being conducted. The work is carried out in 2d.

:bust_in_silhouette: Reply From: dacess123

I would suggest adding an Area2D with a Circular CollisionShape object. You can set the radius of the CollisionShape. Then you can check the Collision Shape for colliders whenever you need too.