Rect.intersects

Function/Meaning
Rectangle intersection test
Type
Method of Rect class
Syntax
intersects(r)
Arguments
r Specifies the rectangle object to test for intersection.
Return Value
Whether they intersect
Description
Determines whether it intersects with the specified rectangle object.
Returns true if they intersect.