# Set Condition

The first step is to select the item for which the condition will be evaluated.

<div align="left"><img src="https://3582462918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmaDJsMJp40TdufW4KHYA%2Fuploads%2Fgit-blob-48c9cd94093a26a24ab978d76302eaec9590d8e1%2Fandroid_set_condition_page.png?alt=media" alt="" width="300"></div>

Once the item is defined, you can click on the **Choose Function** button and select the function to be checked.

{% hint style="info" %}
If you want the condition to be satisfied only if the selected state persists for a minimum amount of time, you can configure a timer.
{% endhint %}
