GSAP MotionPath
gsap_motionpathAnimate an element along an SVG path or points array for curved motion. For straight-line positional animation, use the tween tool.
Instructions
Animate an element along an SVG path or array of points using MotionPathPlugin. Use for curved movement paths. For straight-line positional animation use gsap_tween instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ease | No | none | |
| path | Yes | SVG path selector or points array | |
| target | Yes | CSS selector for the element to animate | |
| options | No | ||
| duration | No | ||
| includeImports | No |