3D cursor python button

Greetings,
I’m looking to add a on/off button to a display panel I created to show/hide the 3D cursor.
“View3DOverlay.show_cursor” doesn’t seem to work with a row operator. Any idea how to achieve this function?

1 Like