LunaLua global functions

''' If you're still using LunaLua v6.* then please look on the bottom of the page for the old functions! '''

Static Block functions
See Block (class) to learn how to manipulate block objects returned with these functions.

Static BGO functions
See BGO (class) to learn how to manipulate BGO objects returned with these functions.

Static Player functions
See Player (class) to learn how to manipulate Player objects returned with these functions.

Static NPC functions (Level only)
See NPC (class) to learn how to manipulate NPC objects returned with these functions.

Static Animation (SMBX Effect) functions (Level only)
See Animation (class) to learn how to manipulate Animation objects returned with these functions.

Static Layer functions (Level only)
See Layer (class) to learn how to manipulate Layer objects returned with these functions.

Old Functions (for LunaLua v0.6.*)
''' DEPRECATED!!! Use Data class instead!'''

The UserData-Namespace gives your access to the variable bank. With variable bank you can save number-values for other levels and when the game closes.