> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/creator/content-creator-ko/scene-editor/interactivity/trigger-area.md).

# 트리거 영역

플레이어 위치에 반응하기

플레이어가 특정 영역 안으로 들어가거나 밖으로 나갈 때 동작을 트리거하려면 트리거 영역을 사용하세요 [스마트 아이템](/creator/content-creator-ko/scene-editor/interactivity/smart-items.md).

![](https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-649dfd99d06849f543399b5b89a6a31a015cb439%2Ftrigger.png?alt=media)

씬을 편집하는 동안 보이는 주황색 큐브는 Scene Editor에서만 보이며, 씬 미리보기를 실행하면 보이지 않게 됩니다. 주황색 큐브는 필요한 영역을 정확히 덮도록 쉽게 조정하고 크기를 변경할 수 있습니다.

플레이어의 아바타의 일부라도 이 주황색 큐브와 겹치면 할당된 이벤트가 호출됩니다. 트리거 영역은 다른 플레이어의 아바타가 아니라 로컬 머신의 플레이어에게만 반응합니다. 각 플레이어는 자신의 씬 인스턴스에서 트리거를 발생시킵니다.

사용하세요 **플레이어가 영역에 प्रवेश** 및 **플레이어가 영역에서 나감** 아이템의 트리거 유형 **트리거** 구성 요소. 이러한 트리거 이벤트의 동작은 플레이어가 영역에 들어오거나 나갈 때마다 활성화됩니다.

![](https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-f8389cd077c495e0b8ada33ca0da01800eee7dcd%2Fon_player_enters.png?alt=media)

같은 트리거 이벤트에 서로 다른 동작을 원하는 만큼 추가할 수 있으며, 그러면 모두 동시에 활성화됩니다.

{% hint style="info" %}
**💡 팁**: 씬의 트리거 영역이 다른 콘텐츠 편집에 방해가 되기 시작하면, 언제든지 이를 잠그거나 숨길 수 있다는 점을 기억하세요 [엔티티 트리](/creator/content-creator-ko/scene-editor/get-started/scene-editor-essentials.md#the-entity-tree).

<img src="https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-22638c584105c16e473cdbcab644d55b04540fc4%2Fhide-trigger.png?alt=media" alt="" data-size="original">
{% endhint %}

또한 추가할 수 있습니다 **트리거 조건**, 그래서 특정 조건이 씬에서 충족될 때만 동작이 실행되도록 할 수 있습니다. 예를 들어, 플레이어가 들어오면 미닫이문을 여는 트리거 영역을 만들 수 있습니다. 그곳에 조건을 사용해 전원 스위치 역할을 하는 레버의 상태를 확인하고, 전원이 켜져 있을 때만 문을 열 수 있습니다. 참조 [상태와 조건](/creator/content-creator-ko/scene-editor/interactivity/states-and-conditions.md) 자세한 내용은 다음을 참조하세요.

![](https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-7b4672a813859334f5951ee8c1e2d31a90509d32%2Ftrigger-conditions-trigger-area.png?alt=media)

여러 트리거 영역이 서로 겹칠 수 있으며, 서로에 영향을 주지 않습니다.

{% hint style="info" %}
**📔 참고**: 또한 사용할 수 있습니다 **플레이어가 영역에 들어왔을 때** 및 **플레이어가 영역에서 나갔을 때** 다른 스마트 아이템에서도 트리거 이벤트를 사용할 수 있지만, 트리거가 적용되는 영역을 파악하기가 까다로울 수 있다는 점을 유의하세요.

트리거 가능한 영역의 크기는 아이템의 보이는 형태나 콜라이더와는 관련이 없으며, 항상 각 변이 1m인 큐브이고 아이템의 스케일의 영향을 받습니다.
{% endhint %}

{% hint style="info" %}
**💡 팁**: 씬 에디터의 트리거 영역은 로컬 플레이어에게만 작동합니다. 영역에 들어오는 다른 플레이어의 아바타에도 반응해야 한다면, Script 컴포넌트를 사용해 코드를 추가하고 다음을 사용하세요 [SDK7 TriggerArea 컴포넌트](/creator/content-creator-ko/sdk7/3d/trigger-areas.md) 와 함께 `CL_PLAYER` 모든 아바타를 감지하는 충돌 레이어
{% endhint %}


---

# 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.decentraland.org/creator/content-creator-ko/scene-editor/interactivity/trigger-area.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.
