# How to set show/hide conditions

{% embed url="<https://app.arcade.software/share/3y0sH6QjU2LyUgq8Anga>" %}

{% hint style="info" %}
Conditions are based on variables, these variables could be user inputs or other data like location or URL parameters. In this example we are basing out conditions on a user's input.&#x20;
{% endhint %}

{% hint style="warning" %}
Conditions are always set when to show, meaning the component is going to be shown when the condition returns TRUE.
{% endhint %}

1. With the "Designer" card opened, select the element you want to set the condition for.
2. In the "Show/hide" tab of the "Designer" card, click the "Add condition" button.
3. In the first dropdown, select from the list of component keys the variable on which the condition is going to be based.
4. Then select an operator from the second dropdown. (E.g.&#x20;
5. Depending on the operator you've selected you might also need to set a third parameter for the condition like in this example case (the "Option 2" button)&#x20;

### Related docs:

<table data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table>


---

# 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.trysavvy.com/how-tos/logic-how-tos/how-to-set-show-hide-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.
