Enumerates all the physics bodies in the scene that intersect the specified rectangle.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 3.0+
A rectangle in scene coordinates.
A block to be called for each physics body that contains the point. The block takes the following parameters:
The physics body that intersected the rectangle.
A pointer to a Boolean variable. Your block can set this to
trueto terminate the enumeration.