Chain animations with useMotionValue + useSpring #2086
Unanswered
hatsumatsu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, what would be the best approach to chain animations based on
useMotionValue
anduseSpring
?Let's say I got this setup (using with r3f via
framer-motion-3d
):To animate first to 100 and right after to -100 I could use
useMotionValueEvent
and some kind of custom queue / flag to determine which stage of the animation I'm in. But maybe framer-motion already got some magic 🔮 baked in I'm missing?Beta Was this translation helpful? Give feedback.
All reactions