Clone wiki

craftstud.io / Reference / Scripting

Scripting Reference

All the functions & constants made available by CraftStudio for your scripts.


Scripting language

CraftStudio scripts are powered by Lua, a powerful, fast and lightweight programming language.


Script API versioning

Rarely, new versions of CraftStudio might break backwards compatibility in scripts. When such breaking changes happen, they are documented in the API Versioning page.


Global CraftStudio functions & constants

CraftStudio, Input, Storage, Screen, Audio, Physics, Network, Web


Working with game objects


Assets

Map, TileSet, Sound


Math

Vector3, Quaternion, Ray, Plane and Miscellaneous math functions

Updated