> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.unity/yarn.unity.pauseeventprocessor.md).

# PauseEventProcessor

Class in [Yarn.Unity](/3.1/api/csharp/yarn.unity.md)

Inherits from `System.Object`

## Summary

Allows pausing the current typewrite through \[pause/] markers.

```csharp
public sealed class PauseEventProcessor : IActionMarkupHandler
```

## Methods

| Name                                                                                                                                                                                | Description |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| [OnCharacterWillAppear(int,MarkupParseResult,CancellationToken)](/3.1/api/csharp/yarn.unity/yarn.unity.pauseeventprocessor/yarn.unity.pauseeventprocessor.oncharacterwillappear.md) |             |
| [OnLineDisplayBegin(MarkupParseResult,TMP\_Text)](/3.1/api/csharp/yarn.unity/yarn.unity.pauseeventprocessor/yarn.unity.pauseeventprocessor.onlinedisplaybegin.md)                   |             |
| [OnLineDisplayComplete()](/3.1/api/csharp/yarn.unity/yarn.unity.pauseeventprocessor/yarn.unity.pauseeventprocessor.onlinedisplaycomplete.md)                                        |             |
| [OnLineWillDismiss()](/3.1/api/csharp/yarn.unity/yarn.unity.pauseeventprocessor/yarn.unity.pauseeventprocessor.onlinewilldismiss.md)                                                |             |
| [OnPrepareForLine(MarkupParseResult,TMP\_Text)](/3.1/api/csharp/yarn.unity/yarn.unity.pauseeventprocessor/yarn.unity.pauseeventprocessor.onprepareforline.md)                       |             |
