Return node path after collision

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

I have multiple areas, and when one overlaps, i want the script to get the node path of the overlapped node. In short, i want to get the overlapped node paths, how would i go about doing this? Thanks

Do you use move_and_collide? If so, the function returns a KinematicBody2D which has information on the collision.

Ertain | 2018-06-11 23:18