# Text Overflow Vertical Mode

### Introduction

Text Overflow Vertical Mode controls whether lines of text can draw outside of the bounds of the Text object vertically.

### Spill

Spill enables the drawing of text lines outside of the vertical bounds of a Text instance. The following image shows a Text instance with wrapped text using Spill.

<figure><img src="/files/VGdUChabNg3Ssjq3SI5c" alt=""><figcaption><p>Text with Text Overflow Vertical Mode set to spill</p></figcaption></figure>

### Truncate Line

Truncate Line removes lines which fall outside of the bounds of the Text instance. The following animation shows lines of text truncating in response to changing the Text instance's height.

<figure><img src="/files/eckX6s2SomYrG7BmxK18" alt=""><figcaption><p>Text with Text Overflow Vertical mode set to Truncate Line</p></figcaption></figure>

Note that if the Text instance's height becomes too small then all text disappears.


---

# 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.flatredball.com/gum/gum-tool/gum-elements/text/text-overflow-vertical-mode.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.
