# Set up shortcut for object interaction mode

Does anyone know how to create a shortcut that will make this menu appear?

I'm guessing I need to use wm.context_menu_enum. And I'm hoping I just need the appropriate info to put into the 'Context Attributes' field. Can anyone provide that?

And how would I be able to figure that out for myself, so I can solve future problems?

By default, the TAB hotkey will toggle between object and edit modes.

As of Blender 2.8, CTRL+TAB will display a Pie menu like in Ariso's answer; but without the need of an addon.

You can also set your own shortcuts for object interaction modes.

1. Go to Edit > User Preferences
2. Click the Input tab.
3. Expand 3D view > Object non modal
4. Click Add New and expand the created shortcut to edit it.

For the identifier, type object.mode_set.
This will bring a new box that will allow you to set a specific mode.

Example of custom setup where hotkeys F1, F2 and F3 are respectively mapped to the object, edit and draw mode.

Have you tried the "Pie menu's" addon? It comes by default in Blender so you maybe have it already, it allows you to spawn a wheel of menus which you can select with a click or by hovering your mouse in the desired option.

It also allows to create wheels for other menus in the 3D viewport like animation, 3D cursor, set origin menu, etc. You can also switch to these menu's while the wheel is active by pressing any of the assignated numbers next to the options.

Hope this works.

• Thanks! I prefer this alternative method and will use it, but hopefully we can still get the direct answer. – Crainbolt Jun 21 '18 at 19:28