Camera (class)

From Moondust Wiki
Revision as of 16:46, 19 November 2015 by Kevsoft (talk | contribs)
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.