> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/nedyx/clearlines-functions/logical-functions/isuseraction.md).

# ISUSERACTION

Returns true, if the function is called in a formula of the widget, where the user has performed the current action.

#### Syntax

**ISUSERACTION**()

**Example**

The ISUSERACTION returns true, if it is called

* in the "On switch" formula of a menu, which has been switched by the user
* in the "On click" formula of a button, which has been clicked by the user
* in the "On input" formula of a cell or a table widget, in which the user has entered a new value

The function can be used to ensure that a call of action will not lead to unnecessary calls of other actions. Like in this example:

Button1 call "On click" action of button2 (with the CLICK function), and button2 does the same on button1. Without the proof by the ISUSERACTION function, this would lead to a recursion.

<figure><img src="https://3148043601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL43fiRbeRtPnTjMpbGNO%2Fuploads%2Fgit-blob-ea7504d9670c43251181d0be8315707921eb3bb8%2Fgrafik%20(494).png?alt=media" alt=""><figcaption></figcaption></figure>
