You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. The problem is that I cannot find anywhere in the documentation how to obtain continuous position (x,y) of a moving object. And to further use this position (x,y) in another Javascript. So I assume this is not (yet) implemented in Anime.js.
Describe the solution you'd like A way to continuously obtain the position (x,y) of a moving object and a way to use this in another Javascript.
For now to be used specifically in the SVG Motion path example of yours but would be useful in different projects using Anime.js.
Describe alternatives you've considered Tried using basic Javascript to obtain the position of the animated div but doesn't work so far.
Thanks to help me out on this!
The text was updated successfully, but these errors were encountered:
Sorry for late reply, meanwhile I had already obtained what I urgently needed with 'vector.js'.
Will definitely try your suggestion here one of these days.
Strange though that this should be done via a 'document.querySelector' on the element?
Shouldn't it be directly readable via a function that reads the position via your library?
Is your feature request related to a problem? Please describe.
The problem is that I cannot find anywhere in the documentation how to obtain continuous position (x,y) of a moving object. And to further use this position (x,y) in another Javascript. So I assume this is not (yet) implemented in Anime.js.
Describe the solution you'd like
A way to continuously obtain the position (x,y) of a moving object and a way to use this in another Javascript.
For now to be used specifically in the SVG Motion path example of yours but would be useful in different projects using Anime.js.
Describe alternatives you've considered
Tried using basic Javascript to obtain the position of the animated div but doesn't work so far.
Thanks to help me out on this!
The text was updated successfully, but these errors were encountered: