# ScriptApp

ScriptApp 클래스는 아래와 같이 5개의 카테고리로 구성되어있습니다. 각 카테고리의 제목을 선택하시면, 자세한 내용을 확인할 수 있습니다.

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

> 앱이 시작되어, 실행되고 종료될 때까지를 하나의 생애 주기(Lifecycle)라고 합니다. **앱이 시작될 때, 실행 중일 때 그리고 종료될 때** 등의 상황에서 필요한 동작들을 실행해 전체적인 앱의 생애주기를 만들어 나갈 수 있는 함수들이 모여있는 카테고리 입니다.

### [<mark style="color:purple;">Field</mark>](/zep-script-api/zepscriptapi/scriptapp/field.md)&#x20;

> **스페이스나 맵, 플레이어 정보 등을 조회하거나, 저장공간을 활용**할 수 있는 App과 관련된 속성이 모여있는 카테고리입니다.

### [<mark style="color:purple;">Event Listeners</mark>](/zep-script-api/zepscriptapi/scriptapp/event-listeners.md)&#x20;

> 플레이어가 지정된 채팅을 입력하거나, 특정한 오브젝트를 공격할 와 같이 **맵 내에서 발생할 수 있는 다양한 상황을 감지하여 동작**하는 함수들이 모여있는 카테고리 입니다.

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

> 스크립트 개발자가 지정한 키를 플레이어가 누르거나 특정 지점에 도착했을 때와 같이 **조건을 설정하고 조건이 만족되었을 때 동작하는 함수**들이 모여있는 카테고리 입니다.

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

> 화면에 UI를 표시, 유저 이동 또는 강퇴, 사운드 재생 등 **편리한 기능을 제공하는 함수**들이 모여있는 카테고리 입니다.


---

# 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-kr.zep.us/zep-script-api/zepscriptapi/scriptapp.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.
