Skip to main content

Hi everyone,

I’m currently working on a prototype in Figma, and I’m trying to achieve the following keyboard-based interaction:

  • When I press the A key, an overlay appears.

  • When I release the A key, the overlay closes automatically.

I noticed that Figma’s "Key" trigger only allows actions to be triggered on key press, but I haven't found any way to differentiate between keydown and keyup, like you would with standard JavaScript events.

Is there any workaround or trick to simulate this behavior directly in Figma?
Or would I need to use an external tool (like ProtoPie, Framer, or a coded prototype) to make this interaction possible?

Thanks in advance for your help! 🙏

Hi ​@Tanguy_Le_Crom 

Thanks for your feedback! This sounds like a great suggestion, and I'll make sure to pass it along to our product team. I've recategorized this as "Suggest a feature" so it can be properly tracked for future enhancements.

Appreciate your input!
Toku


Thank you so much!
As a game designer and someone who teaches game design using Figma, I’ve received a lot of requests for this feature, and it triggers me as well ahah.

Really appreciate the suggestion, it would be a total game changer for our workflow in game design!


Reply