Replies: 1 comment 5 replies
-
This is expected, you need to use a computedValue for |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to use an animated value (x in the screenshot below). When
x
is directly used inend
, animation worked but apparently all paths animated simultaneously with the same progressx
.In order to animate the map of paths so one draws after another, I think of to use the animated value to subtract the index of the path. Apparently I cannot do
x - index
, so I triedx.current - index
. However, it appears thatx.current
stays as 0 when used in the path while console log did show its value varying. I wonder why and how should I do this differently to achieve what I was looking for? Thanks a lot for your help!Beta Was this translation helpful? Give feedback.
All reactions