# $isModal — Is this interaction a modal submit?

## Syntax

```
$isModal
```

## Behavior

Returns `true` when the interaction that triggered the script is a modal submission (Discord interaction type 5), `false` for any other trigger, including text commands.

## Parameters

None.

## Return Value

`true` or `false`.

## Example

```bdfd
$if[$isModal==true]
$description[Thanks for submitting the form.]
$endif
```
