Function

quad

(x: number, y: number, w: number, h: number): Quad

Rectangle area (0.0 - 1.0).

param x- The x position of the rectangle.

param y- The y position of the rectangle.

param w- The width of the rectangle.

param h- The height of the rectangle.

returns A Quad object.

since v3001.0

group Math

kaplay logo

Layer

Miscalenous