You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Python Scripting - Shortcut / Custom Keymap


Darkfall writes:

In this video, we will be looking at creating a custom Key map / Shortcut for an add-on.

Instead of pressing the button on our panel, we can create a custom Shortcut that will run our operators. In this example I use 'Shift F', but you can use any short cut you want (providing it's not already being used).

To check if a key map is being used, you can check out the Keymap section (edit > preferences > Keymap). Then you can check what shortcuts are being used. You should also note, that other add-ons (that you or the user have downloaded) may have created a keymap.

Creating a Shortcut for your add-on, will make the experience for the user much better. It's far easier to press a Shortcut, then it is to open panels and find buttons.

I hope you find this video helpful and as always, thanks for reading!.

About Author

John Brook

I make Youtube tutorials for blender Users. From CG and VFX to Animations, Shorts and Asset Creation. I upload tutorials once a week along with any assets we create for you to use in your own projects.

Leave A Reply

To add a profile picture to your message, register your email address with To protect your email address, create an account on BlenderNation and log in when posting a message.