> For the complete documentation index, see [llms.txt](https://docs.allout.game/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.allout.game/scripting.md).

# Scripting

- [Cursor/Claude/Antigravity Setup](https://docs.allout.game/scripting/cursor-claude-antigravity-setup.md)
- [Getting Started with CSL](https://docs.allout.game/scripting/syntax.md): CSL is All Out's custom programming language built to make writing multiplayer games as easy as creating single player games.
- [Language Basics](https://docs.allout.game/scripting/types-and-structures.md): For the purposes of these docs, we refer to CSL and the runtime/platform around it interchangeably
- [Game/Frame Lifecycle](https://docs.allout.game/scripting/game-frame-lifecycle.md): In contrast to event driven scripting like Roblox, games on All Out use a frame lifecycle model that allows you to run code when the game starts, each frame, and at the end of a session.
- [Entities and Components](https://docs.allout.game/scripting/entities-and-components.md)
- [Adding Player Logic](https://docs.allout.game/scripting/player-model.md)
- [Networking Fundamentals](https://docs.allout.game/scripting/networking-fundamentals.md)
- [Random, Math, & More](https://docs.allout.game/scripting/random-math-and-more.md)
- [Advanced Language Reference](https://docs.allout.game/scripting/arrays-and-collections.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.allout.game/scripting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
