Familiar territory. Rectangle keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.
The rectangle class.
function Rectangle()
Quick Reference
Setup & Creation 1
| initialize() | Sets up a new instance. |
Setup & Creation
initialize
method sourceRectangle.prototype.initialize(x, y, width, height)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)