https://developer.apple.com/documentation/spritekit/skphysicsworld/enumeratebodies(alongraystart:end:using:)
enumerateBodies(alongRayStart:end:using:) | Apple Developer Documentation
Enumerates all the physics bodies in the scene that intersect a ray.
apple developerendusingdocumentation