# Proximity Actions

> **Info:**
Every option on this page is saved to the NPC's own file in the npcs folder, and sits in the NPC's Click Actions screen next to the click actions.

## Actions

A list of [actions](../plugin-information/action-types.md) that runs for a player when they step inside the radius, such as a greeting or a `[DIALOGUE]`. It runs once per visit: the player has to leave the radius before it can run again. It can also be changed with `/pnpc edit <id> action proximity ...`, see [Click Actions](click-actions.md#commands).

<figure><img src="../.gitbook/assets/click-actions/proximity-actions.png" alt="" width="563"><figcaption><p>Click Actions (Proximity)</p></figcaption></figure>

<figure><img src="../.gitbook/assets/click-actions/proximity-enter-actions.png" alt="" width="563"><figcaption><p>Proximity (Enter Actions)</p></figcaption></figure>

<figure><img src="../.gitbook/assets/click-actions/proximity-leave-actions.png" alt="" width="563"><figcaption><p>Proximity (Leave Actions)</p></figcaption></figure>

## Radius

How close a player has to come, in blocks, up to 64. 0 turns proximity actions off.

<figure><img src="../.gitbook/assets/click-actions/proximity-radius.png" alt="" width="563"><figcaption><p>Proximity (Radius)</p></figcaption></figure>

## Cooldown

How many seconds must pass before the same player sets the actions off again, even after leaving and coming back. The default is 10 seconds.

<figure><img src="../.gitbook/assets/click-actions/proximity-cooldown.png" alt="" width="563"><figcaption><p>Proximity (Cooldown)</p></figcaption></figure>

Source: https://www.phoenixplugins.com/docs/phoenix-npcs/main-features/proximity-actions