We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Rect GameObj.toRect()
Rect
Rect: GameObj rect.
Get a rect with the GameObj position and size.
You can test this snippet of code here.
let gameObj = new GameObj(30, 50, 3, 2); console.log(gameObj.toRect());
index
Ramu Rect GameObj Drawable Collisor