--- title: animateMotion slug: Web/SVG/Element/animateMotion tags: - Animation SVG - Element - SVG translation_of: Web/SVG/Element/animateMotion --- {{SVGRef}} L'élément **``** permet d'animer un élément le long d'un chemin donné. ## Contexte d'utilisation {{svginfo}} ## Attributs ### Attributs globaux - [Attributs à traitement conditionnel](/fr/docs/Web/SVG/Attribute#ConditionalProccessing) » - [Attributs fondamentaux](/fr/docs/Web/SVG/Attribute#Core) » - [Attributs d'événements d'animation](/fr/docs/SVG/Attribute#AnimationEvent) » - [Attributs XLink](/fr/docs/Web/SVG/Attribute#XLink) » - [Attributs d'animation de timing](/fr/docs/SVG/Attribute#AnimationTiming "SVG/Attribute#AnimationTiming") » - [Attributs d'animation de valeurs](/fr/docs/SVG/Attribute#AnimationValue "SVG/Attribute#AnimationValue") » - [Attributs d'animation d'ajout](/fr/docs/SVG/Attribute#AnimationAddition "SVG/Attribute#AnimationAddition") » - {{ SVGAttr("externalResourcesRequired") }} ### Attributs spécifiques - {{ SVGAttr("calcMode") }} - {{ SVGAttr("path") }} - {{ SVGAttr("keyPoints") }} - {{ SVGAttr("rotate") }} - {{ SVGAttr("origin") }} ## Interface DOM Cet élément implémente l'interface [`SVGAnimateMotionElement`](/fr/docs/DOM/SVGAnimateMotionElement "en/DOM/SVGAnimateMotionElement"). ## Exemple ### SVG ```html ``` ### Résultat {{EmbedLiveSample("Exemple", 120, 120)}} ## Spécifications | Spécification | Statut | Commentaire | | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | ------------------- | | {{SpecName("SVG Animations 2", "#AnimateMotionElement", "<animateMotion>")}} | {{Spec2("SVG Animations 2")}} | Aucun changement | | {{SpecName('SVG1.1', 'animate.html#AnimateMotionElement', '<animateMotion>')}} | {{Spec2('SVG1.1')}} | Définition initiale | ## Compatibilité des navigateurs {{Compat("svg.elements.animateMotion")}} ## Voir aussi - {{ SVGElement("mpath") }}