# Scripting API

Every event and verb a room script can use, on the current API version.

This is the reference for the Eggox scripting API, version 1. Scripts are
Lua, run on the server in every copy of a room, and see the world through
the verbs below. Each section is its own page; the whole reference is one
file at [/api/reference.md](/api/reference.md).

## Versions

A room is made on the current API version and keeps it: what its scripts were
written against goes on working when the API moves on. The Studio's top bar
shows the room's version; when a newer one exists it offers UPGRADE, and the
version's page here lists what changed so you can read first and
adjust after. Published copies run the version their room was published on.
