Complete reference documentation for SLua (Second Life Luau), the modern scripting language for Second Life. This section provides detailed specifications for all functions, events, constants, and language features.
Functions
Complete library of SLua functions for controlling objects, communication, math, and more.
Browse all SLua functions →
Events
Event handlers that respond to touches, collisions, timers, messages, and world changes.
Browse all SLua events →
Constants
Predefined constants for vectors, rotations, permissions, and system values.
Browse all SLua constants →
Functions are organized by purpose for easier navigation:
Appearance - Colors, textures, transparency, glow
Movement - Position, rotation, physics, forces
Properties - Name, description, scale, shape
Chat - Local chat, shout, whisper, region say
Dialog - Menus, text boxes, notifications
HTTP - Web requests, webhooks, external services
Email - Send and receive email
Sensors - Detect nearby avatars and objects
Permissions - Request and check permissions
Animation - Start and stop avatar animations
Attachments - Work with worn items
Math - Trigonometry, random numbers, rounding
String - Text manipulation and parsing
Table - Table operations and utilities
Type Conversion - Convert between types
Particles - Particle systems and effects
Sound - Play sounds and music
Light - Point lights and projection
Media - Web media on a prim
Experience - Experience tools and permissions
Inventory - Access object inventory
Notecard - Read notecard contents
Region - Query region and parcel info