How to set a hot key for pivot_point

Hello!
I’m trying to set this hot key b’coz it will add a huge thrust to my workflow. This is a very important hot key due to often switching between “median_point” pivot point and “cursor”.

I already set “occlude_geometry” but didn’t found how to set this.

Thanks in advice! :slight_smile:

hehe :eyebrowlift: I just found it:

wm.context_set_value, space_data.pivot_point, ‘CURSOR’ (other values for other settings).

First time I set it without ’ ’ - so it didn’t worked.