Change driver state on scroll

#1

Have you searched the Docs and Knowledge base?
Principle Version: 5.12
macOS Version:
Sketch Version:
Description of what you need help with: Is it possible to change a state of a component controlled by scroll? I’ve looked for an answer but couldn’t find it.
I have a component with multiple states and on my main timeline when I scroll to a certain point vertically I want to change the state of this component for the next state.
Any help is much appreciated.

Thanks.

Rafael

Steps to reproduce the behavior:
1.
2.
3.

Screenshots/Sketch File/Principle file: (if applicable)

0 Likes

#2

I don’t think that is possible but you could duplicate the component, assign another state to that duped component, and use drivers to swap them via opacity.

See video of this method here:

0 Likes