Function

testRectPoint

(r: Rect, pt: Vec2): boolean

Check if a point is inside a rectangle.

param r- The rectangle.

param pt- The point.

returns true if the point is inside the rectangle.

since v2000.0

group Math

kaplay logo

Layer

Miscalenous