# Trigger

The modal trigger tab allows you to set the modal's block trigger settings.

<figure><img src="https://lh4.googleusercontent.com/KsU5utj3uf7LvzITkBRe-g_1HClPV5-ztwMhxUJr6VKFG5_2O_Rq_Rg6GBRLAw0tnlm9n9GyiL-NPS_hKeVzDc37NmvFn3tXWZr7iB3HI7jGBu4G94vPRKECsj69V9y2n4pwHdPqBK46sFeHdun911I0pvp-9JQW-tjqWF1kYa0dVRTJt3Eh7bQd1QSuSg" alt=""><figcaption></figcaption></figure>

## Appear

You can choose to set an appear trigger.

***Never*** Resets the modal block to appear without any specific trigger.

***On Load*** Modal block appears every time the user loads the page.

***On Click*** Modal block appears on click.

***On Scroll*** Modal block appears when the user scrolls through the page.

***On Scroll to element*** Modal block appears when the user scrolls to the desired element specified as a selector

***After Inactivity*** Modal block appears after X seconds of inactivity.

***On exit intent*** Modal block appears when the user hovers over the "exit page" icon in their browser.

***Arriving from URL*** Modal block appears if the user arrives from specified URL.

<details>

<summary>Add appear trigger</summary>

1. Select a Modal block
2. Navigate to the trigger tab
3. Find the appear property
4. Select desired trigger

</details>

## Show again

You can choose when the modal block shows again.

***Every Time*** Modal block shows again every time.

***Up To x Times*** Modal block shows again up to an X amount of time.

***After X days*** Modal block shows again after an X amount of days.

***Never*** Doesn't show the modal block again.

<details>

<summary>Add show again trigger</summary>

1. Select a Modal block
2. Navigate to the trigger tab
3. Find the show again property
4. Select desired trigger

</details>

## Hide

Trigger that can be toggled on and off, used to hide a modal block for logged in users.


---

# 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.cwicly.com/blocks/modal/trigger.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.
