# Min Height

## Introduction

The `Min Height` variable sets the minimum height in pixels. This value is applied after all other layout so it can be used to overwrite automatically-assigned height.

By default this value is `<NULL>` which means there is no `Min Height`.

<figure><img src="/files/Z3mRtaOzO5WllmwOLwgb" alt=""><figcaption><p>A ColoredRectangle with no <code>Min Height</code></p></figcaption></figure>

If `Min Height` is assigned (not `<NULL>`), then the effective height cannot be less than the `Min Height` value. The following animation shows that height is limited to a `Min Height` of 100.

<figure><img src="/files/HdvIcMnVCjvYWE9fCGQP" alt=""><figcaption><p><code>Min Height</code> set to <code>100</code> limits the ColoredRectangle' height</p></figcaption></figure>

Notice that the `Height` variable can still be set to a value smaller than `Min Height`, but it does not apply visually.

`Min Height` can also be used if `Height Units` is set to values other than `Absolute`. For example, `Min Height` can be used to limit the height of a ColoredRectangle when `Height Units` is `Relative to Parent`.

<figure><img src="/files/dfRgiYkEwB7DJnYNtBeN" alt=""><figcaption><p>Rectangle's height limited by its <code>Min Height</code> of <code>100</code></p></figcaption></figure>


---

# 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/general-properties/min-height.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.
