Function

testRectRect

(r1: Rect, r2: Rect): boolean

Check if 2 rectangle overlaps.

param r1- The first rectangle.

param r2- The second rectangle.

returns true if the rectangles overlap.

since v2000.0

group Math

kaplay logo

Layer

Miscalenous