GSAP Utils is the official GreenSock skill for the gsap.utils helper functions. It covers clamp, mapRange, normalize and interpolate, random, snap, shuffle and distribute, unit and color parsing, and selector, toArray, pipe, wrap and wrapYoyo.
Each helper has a short section with usage, and the skill ends with best practices and a Do Not list.
What You Get
- Reference sections for each gsap.utils function
- Examples for ranges, random and snap values
- Best practices and a Do Not list
Common Use Cases
- Mapping scroll or mouse position to a value
- Looping through a set of items with wrap
- Picking random or snapped values
What Makes It Unique
It documents the helpers as one reference so the assistant uses them in place of hand-written math, with the function signatures spelled out.
Under The Hood
The skill is a single SKILL.md with no scripts. It guides the assistant to call gsap.utils in your code. It runs no commands and reaches no network.