# Display Conditions

**Display Conditions** can be used to change the runtime status of [HMI Components ](/hmi-designer/hmi-components.md)while the robot program is running.&#x20;

Changing runtime status of HMI elements can be usefull to:

* **Show** or **Hide** HMI components
* **Enable** or **Disable** HMI components

<figure><img src="/files/wr9fXkBvy0fsGMIzlAcR" alt=""><figcaption><p>Display Conditions can be used to change appearance of UI components.</p></figcaption></figure>

Display Conditions can be expressed as simple **boolean variables** or as more complex **conditional statements**. You can setup Display Conditions for each HMI component inside its properties panel.

<figure><img src="/files/a7APNtJV4OglXlYBnrVe" alt=""><figcaption><p>Display Conditions can be configured inside the HMI Properties panel of each UI components.</p></figcaption></figure>

{% hint style="info" %}
Display Conditions can be set as:

* boolan variables
* functions returning a boolean value
* conditional statements equivalent to a boolean value&#x20;
  {% endhint %}

{% embed url="<https://www.youtube.com/watch?v=3QRPgzhc-zA>" %}

Runtime status of HMI components can be changed also programmatically using [HMI Commands.](/hmi-designer/hmi-commands.md)

You can see Display Conditions in action inside the [Machine Tending Example](/hmi-designer/working-examples/universal-robots/machine-tending-example.md).


---

# 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.robpod.cloud/hmi-designer/display-conditions.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.
