In the first step (Index), you can choose which will be the second step. At the top of the screen, there’s a numerical sequence from 1 to 5. Below that, there’s a button to proceed. If you choose “Guests,” you’ll follow the normal order of screens (2, 3, 4, 5) when clicking forward. However, if you choose “Meat,” then the order should be 5, 2, 3, 4, and so on.
Since any of the next options could be the number 2, how can I create rules using variables and conditional statements to update the sequence in the prototype?
Then, in every stage, on your “Adelante” button, add an interaction. The goal here is to check what the start-stage was and, based on that and your current position, decide where to go next. Basically, you want to check:
Is the current stage the start-stage? If so, go to stage 2, unlessstart-stage was 2, then go to 3.
Is the next stage the start-stage? If so, jump to it; otherwise, go to the next stage."