#global action in a prototype?

1 messages · Page 1 of 1 (latest)

potent tinsel
#

Hi Friends of Figma, I have a prototype with MANY screens and need to have a key/gamepad press take me back to the start of the prototype from any of those screens. I'm wondering... is there a global way to do this? From any screen in the prototype, press "B" to return to the first screen

topaz tendon
#

Select all your screens and add an interaction that points to the starting screen, then change to 'Key/Gamepad' and press 'B' to assign it

potent tinsel
#

awesome! I'll try it!!

potent tinsel
#

It works! I didn't know you could select multiple screens and add an interaction this way... Thank you so much, you saved me A LOT of time!

topaz tendon
#

Yep! Super handy feature that I use a lot

quick stratus
#

@topaz tendon you don't have to trigger any prototype for it this is included in a default feature in figma.. 🙂
just add flow starting point on first screen (check image) and after adding this you can press R from any screen and it will take you to the first screen of prototype 🙂

topaz tendon
#

Right, but he wanted to be able to trigger it via the B button on a controller

quick stratus
#

Ah!
@potent tinsel are you using controller?

potent tinsel
#

Wow -- sorry, I missed this. yes I am using a controller, but have a FLIRC that maps the controller button press to a keyboard command. So the solution mentioned earlier worked!