Camera (class)
Jump to navigation
Jump to search
This class provides access to the SMBX cameras. NOTE: Depending on when you query those values, they might be not up-to-date or right! Using this class in the event onHUDDraw will guarantee to provide the correct values.
| Camera class | |||
|---|---|---|---|
| Type | Function/Field | Return values/Value type | Description |
| Field | Camera.x | number | The x position of the camera. |
| Field | Camera.y | number | The y position of the camera. |
| Field | Camera.width | number | The width of the camera. |
| Field | Camera.height | number | The height of the camera. |