The wl.editor module contains functionality that integrates Lua into the editor. This module is not loaded inside the game, that is if wl.editor is nil the script is run inside a game, else in the editor.

Module Classes


Dependency graph for class: Player

class wl.editor.Player

Child of: wl.bases.PlayerBase

This class represents one of the players in the editor. Note that you cannot instantiate a class of this type directly, use wl.Editor().players.