> 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/api/csharp/yarn.unity/yarn.unity.linepresenterbuttonhandler/yarn.unity.linepresenterbuttonhandler.onprepareforline.md).

# OnPrepareForLine(MarkupParseResult,TMP\_Text)

Method in [LinePresenterButtonHandler](/api/csharp/yarn.unity/yarn.unity.linepresenterbuttonhandler.md)

## Summary

```csharp
public override void OnPrepareForLine(MarkupParseResult line, TMP_Text text)
```

## Parameters

| Name                                                                               | Description |
| ---------------------------------------------------------------------------------- | ----------- |
| [MarkupParseResult](/api/csharp/yarn.markup/yarn.markup.markupparseresult.md) line |             |
| `TMP_Text` text                                                                    |             |
