| title | Getting Started with Scripting |
|---|---|
| description | Learn how to start scripting in Second Life with Lua and LSL |
import { Aside, Card, CardGrid } from '@astrojs/starlight/components';
This documentation site is currently under construction. Content is being actively developed and may be incomplete or subject to change.Welcome to scripting in Second Life! Whether you're new to programming or an experienced developer, you'll find the tools and resources you need to bring your creations to life.
Second Life supports two scripting languages:
A modern scripting option based on Luau (A Lua variant). Lua brings contemporary language features to Second Life scripting.- Modern language features (maps, types, objects)
- Familiar to millions of Luau/Lua developers
- Active development and improvements
- Better performance
- Extensive existing examples
- Large community of scripters
Scripts control nearly every aspect of interactive content in Second Life:
- Objects and Prims - Make objects move, change color, respond to touch
- Avatars - Create attachments, HUDs, gestures, and animations
- Environment - Control lighting, sound, and particles
- Communication - Chat, instant messages, HTTP requests, and data storage
- Physics - Apply forces, detect collisions, and simulate real-world behavior
Ready to start? Choose your path:
- Learn Lua - Explore SL's new scripting system
- Learn LSL - Start with the classic language
- Browse Recipes - See practical examples and patterns
- Visit the Second Life Forums for community support
- Check out the scripting library for working examples
- Review the complete language references for detailed documentation