# ZEP Script API

### Introduction

ZEP Script consists of the following four classes:

### [<mark style="color:purple;">ScriptApp</mark>](/zep-script/zep-script-api/scriptapp.md)

Script responsible for overall functions in the Space where the app is installed

* [<mark style="color:purple;">Lifecycle</mark>](/zep-script/zep-script-api/scriptapp/lifecycle.md)
* [<mark style="color:purple;">Field</mark>](/zep-script/zep-script-api/scriptapp/field.md)
* [<mark style="color:purple;">Event Listeners</mark>](/zep-script/zep-script-api/scriptapp/event-listeners.md)
* [<mark style="color:purple;">Callbacks</mark>](/zep-script/zep-script-api/scriptapp/callbacks.md)
* [<mark style="color:purple;">Methods</mark>](/zep-script/zep-script-api/scriptapp/methods.md)

### [<mark style="color:purple;">ScriptMap</mark>](/zep-script/zep-script-api/scriptmap.md)

Script responsible for adding, modifying, or deleting tiles or objects on the map

* [<mark style="color:purple;">Field</mark>](/zep-script/zep-script-api/scriptmap/field.md)
* [<mark style="color:purple;">Methods</mark>](/zep-script/zep-script-api/scriptmap/methods.md)

### [<mark style="color:purple;">ScriptPlayer</mark>](/zep-script/zep-script-api/scriptplayer.md)

Script responsible for functions designating player settings and coordinates, and also for calling user information

* [<mark style="color:purple;">Field</mark>](/zep-script/zep-script-api/scriptplayer/field.md)
* [<mark style="color:purple;">Methods</mark>](/zep-script/zep-script-api/scriptplayer/methods.md)

### [<mark style="color:purple;">ScriptWidget</mark>](/zep-script/zep-script-api/scriptwidget.md)

Script that can use pre-made HTML within the map as a widget

* [<mark style="color:purple;">Field</mark>](/zep-script/zep-script-api/scriptwidget/field.md)
* [<mark style="color:purple;">Event Listeners</mark>](/zep-script/zep-script-api/scriptwidget/event-listeners.md)
* [<mark style="color:purple;">Methods</mark>](/zep-script/zep-script-api/scriptwidget/methods.md)


---

# Agent Instructions: 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:

```
GET https://docs.zep.us/zep-script/zep-script-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
