Features/Interactions

Motion Agent (AI GSAP animations)

Describe an animation in words and the Motion Agent writes GSAP code for a section, the whole page or a reusable preset.

Code can be saved per section, as global page-wide code, or as named presets you apply to other sections. Use it when the no-code interactions are not enough and you want GSAP-level motion without writing it yourself.

How it works

  • Scopes: section, global, direction. Presets: site setting dh.gsap (name => source).
  • Section config: trigger On scroll into view (view), On page load (load), Replay on re-enter (reenter), Scrub with scroll (scrub); speed 0.5x to 2x; device toggles Desktop / Tablet / Mobile; start (viewport % the top must cross, default 80).
  • Section options: Edit code, Replay, Copy code, Undo last change, Reset section; global: Reset all sections; presets: Apply to section, Delete preset.
  • Global code is skipped with prefers-reduced-motion.
  • AI models: claude-opus-5, claude-opus-4-8, claude-opus-4-6, claude-sonnet-5 (default), claude-sonnet-4-6, claude-fable-5, claude-haiku-4-5, or OpenRouter models with your own key. Uses AI credits (a reserve of 50 is checked) unless BYOK; Opus falls back to Sonnet below 200 credits, Fable falls back below 400.
  • Every save is scanned and capped at 20,000 characters; GSAP code counts as custom code.

When to use it

  • A staggered hero intro written from a one-line prompt
  • A reusable 'fade up cards' preset applied to many sections
  • A scroll-scrubbed timeline across the page

Limitations

  • Needs AI credits or your own API key.
  • Code is limited to 20,000 characters per save.
  • Code runs in visitors' browsers, so it is scanned before it is saved.

Availability

  • Works in Designer and MCP.
  • Included in every plan.
  • Limits: GSAP code up to 20,000 characters per save. AI requests need at least 50 credits available (unless own API key).

How to use it.

  1. Open the Motion Agent with Ctrl/Cmd + Shift + G or the button at the top of the Layers panel.
  2. Select a section and describe the animation.
  3. Choose trigger, speed and devices.
  4. Replay, edit if needed, and save.

Questions.

Can I edit the generated code?

Is GSAP code limited by plan?

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.