Go to artboard based on drag direction?

#1

Have you searched the Docs and Knowledge base?
Principle Version: 5.9
macOS Version: 10.14.5
Sketch Version: N/A
Description of what you need help with:

Is it possible to go to a different artboard based on drag direction? We have a UI of options (imagine the horizontal swiping in Spotify, or the image edit options in iOS) and each option should go to a different artboard.

See image… drag left or right. Also exploring Pages. How do you send the current artboard to one or another artboard based on dragging left or right?

It would also need to stop at each number, which is why I was exploring Pages.

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

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

0 Likes

#2

No, principle doesn’t detect drag direction.

You can probably fake it if you can control the prototype yourself when presenting or recording a video.

0 Likes

#3

@Phipps Have you tried using drivers on a “paged” group? e.g swipe (page) left 375pt would go to “2” and -375pt would go to “0”

0 Likes