Skip to Content
🚨 New Example: Handling Node Collisions!

Rect

Source on GitHub 

The Rect type defines a rectangle in a two-dimensional space with dimensions and a position.

NameTypeDefault
widthnumber
heightnumber
xnumber
ynumber
Last updated on