Path (class)

From PGE Wiki
Jump to: navigation, search

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

Path class
Type Function/Field Return values/Value type Description
Field Path.id double The id of the path object.
Field Path.x double The x position of the path object.
Field Path.y double The y position of the path object.
Field Path.width double The width of the path object.
Field Path.height double The height of the path object.
Field Path.visible boolean Whether the object is visible or not. (LunaLua ≥ v0.7.3.2)
Field Path.isValid boolean Whether the object is valid or not.