Storing screens in variables

Franziska Burger shared this question 5 years ago

My prototype is organized into 5 categories each of which has subcatogories. On swiping left or right you should be able to change categories. However, I want to link the current screen to the last screen viewed in the category to the left or right. The way I would do that if I could just program it, would be to store the last screen that was viewed in each category in 5 variables and to link the left and right arrows that indicate the swipe action to those variables. But how can I do it with the prototyper? Is there a way to assign entire screens to variables?

Comments (1)


Take a look at this tutorial. Here's how you can create dynamic back button (in your case swipe left or right).