Skip to main content

Hello,


So basically I’m designing a games interface where I need to be able to switch between a number of maps (E.g. House, Tunnel, Barge) upon mouse click. Problem is, it seems as if Figma only has the option to go to a specific variable rather than cycle through all of them. Here’s an example of what I mean:


What I want:

Variables (1, 2, 3)

On mouse click, if Variable = 1, Navigate to 2

OR

On mouse click, cycle Variable


What I’m currently getting:

Variables (1, 2, 3)

On mouse click, set Variable to 2


There doesn’t appear to be an ability to change the variable back/alternate unless it’s manually done in the editor. Is there some kind of interaction that can be used or does this function/feature not exist within the tool?


Thanks for your time!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.