UtilitiesFunctionsdoRectsIntersectVersion: NextdoRectsIntersect CallabledoRectsIntersect(a: Rect2D, b: Rect2D): booleanTests whether two axis-aligned rectangles overlap or touch.Parametersa: Rect2DFirst rectangle.b: Rect2DSecond rectangle.Returns booleanTrue when the rectangles have any shared area or boundary.
Tests whether two axis-aligned rectangles overlap or touch.