Skip to main content

Globals

Available system globals.

ARCH

global ARCH: string

The current platform tuple used for native modules loading, for example: "x86_64-linux", "x86_64-darwin", "x86_64-windows", etc...


ARGS

global ARGS: table<integer, string>

The command line arguments given to pragtical.


COMPAT_DISABLE_FIX_PATTERN

global COMPAT_DISABLE_FIX_PATTERN: boolean

DATADIR

global DATADIR: string

Directory that holds the editor lua sources and other data files.


DEFAULT_FPS

global DEFAULT_FPS: number

The default system fps based on the current display refresh rate.


DEFAULT_SCALE

global DEFAULT_SCALE: number

Default system scale.


EXEDIR