# gsap.utils helper functions (/gsap-utils)

/gsap-utils is a Claude Code skill in the Web & Design section. It is maintained by greensock and published under the MIT license. A guide to the gsap.utils helpers: clamp, mapRange, normalize, interpolate, random, snap, toArray, wrap and pipe.

- Web version: https://skills.sgomez.dev/en/s/gsap-utils
- Section: [Web & Design](https://skills.sgomez.dev/en/web.md)
- Author: greensock
- License: MIT
- Source: https://github.com/greensock/gsap-skills/tree/aed9cfd3277740755f6bfc1155c7aa645403b760/skills/gsap-utils
- Updated 21 Apr 2026

## How to ask for it

- `How do I clamp a value to a range in GSAP`
- `I need to convert one range of values to another with mapRange`
- `Help me round a position to the nearest value with snap`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```


## Author's description

Official GSAP skill for gsap.utils — clamp, mapRange, normalize, interpolate, random, snap, toArray, wrap, pipe. Use when the user asks about gsap.utils, clamp, mapRange, random, snap, toArray, wrap, or helper utilities in GSAP.

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
