When prototyping, we have the interaction panel to add input events. I’d like to be able to utilize a list of global variables that I can access in this panel, in order to create logic based events.
Example prototype with 3 frames:
- “enter a password”
- “success screen”
- “wrong password” notification screen
The button in frame 1) links to frame 2)
In that connector, I want to highlight it, then see a “global variables” section in the property panel where I can add a custom global variable and give it a value. Example: variable name: “password” with value: “hello”.
In the interaction panel, I want to see a section where I can choose a variable=value selection to act as a condition check, allowing me to send the flow to different frames, like this:
[On Click v]
if [select variable v] [ select condition. v] [hello] go to [Frame 3 v]
I would choose from those drop downs and make this:
if [password v] [ = v] [hello] go to [Frame 3 v]
This would tremendously improve prototypes without requiring a ton of additional feature work. Just a simple list of global access variable declarations that can be used in flow logic alongside the usual event settings.