> For the complete documentation index, see [llms.txt](https://docs.febucci.com/text-animator-unreal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.febucci.com/text-animator-unreal/typewriter/wait-actions-when-typing.md).

# Wait Actions when typing

You can perform actions once the typewriter reaches a specific position in the text.&#x20;

{% hint style="warning" %}
Actions work only if the typewriter is enabled.
{% endhint %}

Examples:&#x20;

* `<waitfor=1>Done` will wait 1 seconds before typewriting "Done".
* `<waitinput>Done` will wait player input before typewriting "Done".

***

## How to add actions in your text <a href="#how-to-add-actions-in-your-text" id="how-to-add-actions-in-your-text"></a>

You can add actions to your text by using rich text tags.

Actions’ formatting follows this formula: “`<actionID>`” or “`<actionID=attribute1,attribute2,...>`” for eventual parameters/attributes (just like events/messages).

{% hint style="warning" %}
Actions tags are case insensitive, `<waitfor>` and `<waitFor>` will produce the same results.
{% endhint %}

#### Parameters <a href="#parameters" id="parameters"></a>

Actions support multiple parameters, after the `=` sign and all separated by a `comma`.

Example: `<waitfor=1.5>` or `<playaudio=tada,laugh,dub>`

{% hint style="danger" %}
Floating point numbers must use a period `.`, **not** a comma `,`.

***

* ✔️ \<speed=0.5>
* ❌ \<speed=0,5>
  {% endhint %}

***

## Databases <a href="#databases" id="databases"></a>

As with Effects, you’ll find Actions stored inside their databases. You can add and remove as many as you prefer, create specific ones and also [program your own via C++](/text-animator-unreal/customization/extra-customization-via-c++-blueprints/writing-custom-actions-c++.md).

## Built-in Actions <a href="#built-in-actions" id="built-in-actions"></a>

You can use the following built-in actions in your text.

<table data-view="cards"><thead><tr><th></th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td><p><strong>Wait for Seconds</strong></p><ul><li>tag: waitfor</li><li>description: Waits for X seconds before continuing to show the text.</li><li>attributes: float (wait duration)</li><li>usage_example: waitfor=1.5</li></ul></td><td><p></p><p></p></td><td></td></tr><tr><td><p><strong>Wait for Input</strong></p><ul><li>tag: waitinput</li><li>description: Waits for the player input"</li><li>usage_example: waitinput</li></ul></td><td><p></p><p></p></td><td></td></tr><tr><td><p><strong>Speed</strong></p><ul><li>tag: speed</li><li>description: <em>Multiplies</em> the typewriter speed</li><li>attributes: float (speed multiplier)</li><li>usage_example: speed=2</li></ul></td><td></td><td></td></tr></tbody></table>

{% hint style="info" %}
Remember that you can also skip the typewriter inside specific parts of the text by using the "\<notype>" tag, read more here: [Show and hide letters dynamically](/text-animator-unreal/typewriter/show-and-hide-letters-dynamically.md#skip-specific-parts-of-the-text)
{% endhint %}
