Can <animate> move in more than one direction or have more than one to and from points? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can <animate> move in more than one direction or have more than one to and from points?

26th Apr 2017, 10:29 PM
stevin
stevin - avatar
2 Answers
+ 5
Use <animateMotion> instead. A full description in: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion
26th Apr 2017, 11:16 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 4
Yes. You can use 2 <animate> tags to move in more than one direction.
16th Jun 2019, 1:18 PM
1234554