# Click Actions

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

> **Info:**
Every option on this page is saved to the hologram's own file in the holograms folder.

## Click Actions

A hologram has five lists of [actions](../plugin-information/action-types.md), and so does every line. When a player clicks a line that has actions for that click, or any-click actions, the line's lists run instead of the hologram's. Otherwise the hologram's lists run. The editor adds actions through the action builder, which asks for each field of the type you pick.

A hologram is only clickable once it or one of its lines has an action. `/pholo test <hologram> [click]` runs the hologram's own actions on you, with real costs and rewards.

## Left-Click Actions

The actions run when a player left-clicks the hologram.

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

## Right-Click Actions

The actions run when a player right-clicks the hologram.

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

## Shift + Left-Click Actions

The actions run when a sneaking player left-clicks the hologram. Left empty, a sneaking left-click runs the left-click actions.

<figure><img src="../.gitbook/assets/click-actions/shift-left-click-actions.png" alt="" width="563"><figcaption><p>Click Actions (Shift + Left-Click Actions)</p></figcaption></figure>

## Shift + Right-Click Actions

The actions run when a sneaking player right-clicks the hologram. Left empty, a sneaking right-click runs the right-click actions.

<figure><img src="../.gitbook/assets/click-actions/shift-right-click-actions.png" alt="" width="563"><figcaption><p>Click Actions (Shift + Right-Click Actions)</p></figcaption></figure>

## Any-Click Actions

The actions run on every click, after the ones for that click.

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

## Click Permission

The permission a player needs to click the hologram and its lines. A player without it is told so. Empty lets everyone click.

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

## Click Cooldown

How many milliseconds a player waits between clicks on this hologram, up to one hour. A click during the cooldown tells them how long is left, unless [Hide Cooldown Message](../configurations/main-configuration.md#hide-cooldown-message) is on. A new hologram takes the [default](../configurations/main-configuration.md#hologram-defaults).

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

Source: https://www.phoenixplugins.com/docs/phoenix-holograms/main-features/click-actions