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.
- Open the Motion Agent with Ctrl/Cmd + Shift + G or the button at the top of the Layers panel.
- Select a section and describe the animation.
- Choose trigger, speed and devices.
- Replay, edit if needed, and save.
Questions.
Can I edit the generated code?
Is GSAP code limited by plan?
Related features.
Interactions
Build animations and behaviour without code: pick an event, then chain actions like animate, class, show/hide or scroll.
Custom code (head and body)
Add your own HTML, scripts or styles to the head or body of every page of the site.
GSAP Animations plugin
No-code GSAP and ScrollTrigger animations with per-breakpoint settings.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→