# Button trigger

A button is triggered when a user presses it. You can choose between two different designs - 3D buttons and UI buttons.

![Examples of a 3D button (left) and UI button (right)](/files/6zqlo7wit3wTqX7Glx2U)

You position both types of button within the environment. The 3D button includes a frame and depth. It's visible from all angles, and so you could place it floating in the environment. The UI button is a flat rectangle. You could, for example, use it to create interfaces on surfaces in the environment.

{% hint style="info" %}
To test your triggers while in the Experience Editor, select play (<img src="/files/CwI7WowaHQLoRuHgRPDU" alt="" data-size="line">) on the playback controls, and then hide your editor panel. You can then select the buttons.
{% endhint %}

## Host-only buttons

You can use a **IFX Trigger Text Button Host Only** IFX to add host-only triggers to content. The button may be momentarily visible to all users when it first loads, but then becomes invisible to non-hosts. It has the style of a 3D button.

{% hint style="info" %}
The host-only buttons that are included in some locations, such as to turn ambient sounds on and off, and to hide and show objects, are part of the locations themselves. You can't use host-only triggers to recreate the exact same functionality, but you can create similar results. For example, if you want a host-only button to make a screen appear, you could add the screen as a triggered effect for the host-only button, or you could use a Skip To Time IFX as the triggered effect, which then skips to a point on the timeline where the appearance of the screen is animated.
{% endhint %}

## Button effect options

In addition to the effect options described in [Effect options](/engage/experience-editor/working-with-objects/effect-options.md#common-effect-options) and [Triggers](/engage/experience-editor/working-with-objects/triggers.md#trigger-effect-options), buttons include an option for the text that appears on the button. UI buttons also have additional presentation options.

![Button effect options](/files/6OegZzKzQVkcjP1hmfin)

| Option          | Availability     | Description                                                                       |
| --------------- | ---------------- | --------------------------------------------------------------------------------- |
| UI Text         | All button types | Text that appears on the button                                                   |
| UI Color Scheme | UI buttons only  | Choice of color scheme: white, black, red, or green.                              |
| Emphasis Effect | UI buttons only  | If enabled, the background color of the button changes brightness in slow pulses. |


---

# 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.engagevr.io/engage/experience-editor/working-with-objects/triggers/button-trigger.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.
