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!