> For the complete documentation index, see [llms.txt](https://unity.zoeimmersive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unity.zoeimmersive.com/adding-interactivity/interactions/conditions/approach.md).

# Approach

The **Approach** condition allows to set up a zone around interactive objects to launch actions when the user enters it.

{% embed url="<https://youtu.be/faEy2mU128Y?si=PTlmUnc4rMw48P6Q>" %}

The Approach condition includes the following parameters:

* **Approach** **Mode:** if you select `ENTER`, it means the user has to be close from the object(s), at least at the specified minimum distance.\
  If you select `EXIT`, it means user needs to be far from the object(s), at a bigger distance than the minimum distance set.
* **Distance:** distance, in meters, between the user and the object(s). Objects should be either at this distance or below (to validate`ENTER`) or be at a bigger distance (to validate `EXIT`).

{% hint style="info" %}
*Note that the condition uses the Proximity colliders of the given IOs and you can choose if the distance is calculated from the center of each collider or from the edges* (using the checkbox below the distance).
{% endhint %}

* **Objects in proximity:** objects ([IO](/adding-interactivity/interactive-objects.md)) that the user needs to approach. You can add more than one, then if `Require All` is checked, all the specified objects in this list are required to validate the condition. If `Require All` is not checked, only one of the objects is requires for validating the condition.
* **Minimum duration required:** check details [here](/adding-interactivity/interactions/conditions/duration-parameter.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://unity.zoeimmersive.com/adding-interactivity/interactions/conditions/approach.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.
