# Set Variable Action in Menu

The Set Variable action in the menu allows you to apply specific conditions on menu items, enabling you to dynamically show or hide them based on the values of variables. This feature enhances the flexibility and customization of your app's menu, providing a tailored user experience.

#### Accessing the Feature

follow these steps:

1. Navigate to **App Settings**.
2. Go to **Menu Settings**.
3. Click on the desired **Menu Item** to apply the **Set Variable** action.

#### Configuration

To configure the **Set Variable** action:

1. **Access Menu Settings**: Navigate to the app settings and then to menu settings.
2. **Select Menu Item**: Click on the menu item you wish to configure.
3. **Set Variable Action**: Define the variable and condition that will control the visibility of the menu item.

#### Usage

**Scenario: Show or Hide a Menu Item Based on User properties**

{% @arcade/embed flowId="h41ULLegiFfSQ3xVz6Mu" url="<https://app.arcade.software/share/h41ULLegiFfSQ3xVz6Mu>" %}


---

# 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.jetadmin.io/user-guide/core-concept/set-variable-action-in-menu.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.
