Framer » Motion Values BETA

Motion Values BETA

There is an onScroll event that gets called continuously when you scroll, so yes, you could do that. But in this case (when continuously updating values) you’d be better of using a MotionValue.  You create a motion value (with useMotionValue or motionValue), attach it to a Scroll’s contentOffsetY (or contentOffsetX), and then use useTransform (or transform) to create other motion values that you connect to other elements. And then, […]
To access this page, you must purchase The Framer book.