C
C
Cheizer2018-06-09 15:20:58
JavaScript
Cheizer, 2018-06-09 15:20:58

How to make an element stop in ANIME.JS and then continue its path?

Friends, there is, as for me, a very cool and new JS for animation, ANIME.JS here it is animejs.com/documentation
I’m mastering it and not very strong in principle in JS yet, simple things can be easily obtained from examples, but I don’t seem to catch the essence, so How can I not implement a simple thing as it seems to me.

How to make an element moving from left to right in this JS library, stop in the middle, stand for a couple of seconds and move on?

I don’t understand how to do this, it’s easy to drive it from left to right, but there is not enough knowledge to stop in the middle, the JS library is sure to easily allow you to do this.

Here I raised my example
https://codepen.io/Cheizer/pen/ERZNjM

Please tell the guru in JS how to implement this on anime.js? Pliiiiiiizzzzz! :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-06-09
@pi4yyy

You can do it without js:
https://jsfiddle.net/3yadvtkj/
Animation in css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question