Function Area2D.getOverlappingBodies
Returns a list of intersecting PhysicsBody2D
s. For performance reasons (collisions are all processed at the same time) this list is modified once during the physics step, not immediately after objects are moved. Consider using signals instead.