# Update

## Usage

* The update interval for the material, the name, lore and slots of the button
* You can set them independently as an array to define different intervals for each property

## Example

```yaml
# Same interval for all four properties
update: 20
```

```yaml
# Incomplete setting
# Here, only the material, name and lore are set to: 20, -1, 15
# The slot update interval will be set to the highest of the defined values, in this case: 20
update: [20, -1, 15]
```

```yaml
# Complete setting, the numbers will match in the same order the: Material, Name, Lore and Slot
update: [-1, 5, 25, 30]
```

## Note

* If the update interval is not set, the button won't update at all.
* Conditionnal icons do not support custom update interval and will just use the one from the default button icon.


---

# 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://temp-17.gitbook.io/trmenu/menu/icons/update.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.
