Lua API Reference
Introduction
Game environment
Classes
CharacterClass
ClientScriptableObjectClass
GameClass
HarvestableClass
PlayerClass
ScriptableObjectClass
ShapeClass
ToolClass
UnitClass
WorldClass
Object Types 'userdata'
AiState
AreaTrigger
BlueprintVisualization
Body
BuilderGuide
Character
ClientScriptableObject
Color
Container
CullSphereGroup
Effect
Garage
GuiInterface
Harvestable
Interactable
Joint
JsonGui
JsonWidget
Lift
LoadCellHandle
Network
PathNode
Player
Portal
Quat
RaycastResult
ScriptableObject
Shape
Storage
Tool
Unit
Uuid
Vec3
Widget
World
Static Function Namespaces
GLOBAL
sm
sm.ai
sm.areaTrigger
sm.audio
sm.body
sm.builderGuide
sm.camera
sm.cell
sm.challenge
sm.character
sm.clientScriptableObject
sm.color
sm.construction
sm.container
sm.creation
sm.cullSphereGroup
sm.debris
sm.debugDraw
sm.debugGui
sm.effect
sm.event
sm.game
sm.garage
sm.gui
sm.gui.widget
sm.harvestable
sm.interactable
sm.item
sm.joint
sm.json
sm.jsonGui
sm.lift
sm.localPlayer
sm.log
sm.melee
sm.menuCreation
sm.message
sm.noise
sm.particle
sm.pathNode
sm.pathfinder
sm.physics
sm.pipeGraph
sm.player
sm.portal
sm.projectile
sm.quat
sm.render
sm.scriptableObject
sm.shape
sm.storage
sm.tool
sm.unit
sm.util
sm.uuid
sm.vec3
sm.visualization
sm.world
Terrain environment
Classes
Object Types 'userdata'
Color
Container
Harvestable
Interactable
Portal
Quat
ScriptableObject
Uuid
Vec3
World
Static Function Namespaces
GLOBAL
sm
sm.color
sm.container
sm.debugDraw
sm.debugGui
sm.interactable
sm.json
sm.log
sm.noise
sm.quat
sm.scriptableObject
sm.terrainData
sm.terrainGeneration
sm.terrainHarvestable
sm.terrainTile
sm.tunnelGenerator
sm.util
sm.uuid
sm.vec3
sm.voxelTerrainCell
Interactable
Associated namespace:
sm.interactable
Represents an interactable object in the game