> For the complete documentation index, see [llms.txt](https://docs.lightact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lightact.com/node-reference/node-reference/layout-nodes/math-node-category/float-clamp.md).

# Clamp

<figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-058cf18b45d7b73544c1cf1222df16dcd321e58f%2FFloatClamp.png?alt=media" alt="Clamp"><figcaption></figcaption></figure>

## Description

Clamps value between min and max

## Default inputs

* Float
* Vec2

## Default outputs

* Float
