Is there a way to apply keybinds in Figma to functions in the plugin interface? I would like to create my own prefabricated elements that are supplemented with additional information when they are created, preferably with keybinds.
You can listen to keyboard events in the plugin UI when the UI is in focus (it gets unfocused when you click outside of the UI).
Awesome! Thanks for the quick response.
Hey @Gleb.
I’d like to listen the keyboard event when the UI is not in focus.
I’m building a plugin and I’d like to implement some keyboard shortcut for my plugin like copy selected frames with shortcut (Commnad + C).
Now, it only works when I focus the UI but I’d like it works even the UI is not in focus.
Is there anyway to implement this feature?
Looking forward to hearing from you soon.
Thanks.
No, this isn’t possible.
The best you can do is to create different menu items for launching different commands in your plugin and then assign shortcuts to them within your OS (e.g. using System Preferences on macOS or AHK on Win)
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.