Complete reference documentation for LSL (Linden Scripting Language), Second Life’s classic scripting language. This section provides detailed specifications for all functions, events, constants, and language features.
Functions
Over 300 built-in functions for controlling objects, communication, math, and more.
Browse all LSL functions →
Events
Event handlers that respond to touches, collisions, timers, messages, and world changes.
Browse all LSL events →
Constants
Predefined constants for vectors, rotations, permissions, and system values.
Browse all LSL 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
List - List operations and searches
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