Skip to content

SLua Reference

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 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