What problem does it solve?
Adding hover effects, transitions, and looping animations in Makepad 2.0 requires precise Animator DSL syntax, and mistakes like animating unsupported widgets or uniform variables fail silently with no error, leaving developers debugging invisible problems.
Core Features & Use Cases
- Animator State Machines: Define animation groups (hover, focus, active, disabled, time) with AnimatorState blocks, from transitions, and apply targets.
- Play Types & Easing: Use Forward, Snap, Loop, ReverseLoop, and BounceLoop play types with the full set of ease functions from Linear to InOutBounce.
- Widget Compatibility Guardrails: Know exactly which widgets support the animator field and how to wrap unsupported widgets like Label inside an animated View.
- Use Case: Build a hoverable card that smoothly interpolates its background color on mouse-over, or a loading spinner that rotates continuously using a Loop play type with a timeline keyframe.
Quick Start
Ask the AI to add a hover animation to a Makepad 2.0 button that fades its background color over 0.15 seconds using the Animator system.