Scenery (class)

From PGE Wiki
Jump to: navigation, search

This class provides fields/functions for managing scenery objects on the overworld.

Scenery class
Type Function/Field Return values/Value type Description
Field Scenery.id double The id of the scenery object.
Field Scenery.x double The x position of the scenery object.
Field Scenery.y double The y position of the scenery object.
Field Scenery.width double The width of the scenery object.
Field Scenery.height double The height of the scenery object.
Field Scenery.isValid boolean Whether the object is valid or not.