> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/nodes/tasks/vector3/clamp-magnitude.md).

# Clamp Magnitude

Node description and basic instructions

### Description

Vector with its magnitude clamped to maxLength.

**To create it**, right-click in the editor and select <mark style="color:purple;">Create Node/Tasks/Vector3/Clamp Magnitude</mark>

This task node has a number of fields, that are highlighted in picture below.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2Fhq9m7q0SyxiBaffJTqXs%2Fimage.png?alt=media&amp;token=0d362f4c-8b66-425b-bec6-1efff13aeeac" alt=""><figcaption></figcaption></figure>

### Fields

| Name              | Description                             |
| ----------------- | --------------------------------------- |
| Node Name         | Name of node.                           |
| Ignore About Self | Whether node ignores abort self or not. |
| Vector 3          | Key of vector.                          |
| Max Length        | Key of float with max length.           |
