Custom gizmo mode / lock gizmo mode without element "lock"

Hello, i have EditorPlugin that i want to use to paint over Geometry.

The problem i got is that i would like to use LMB to do so, but Gizmo edit mode then will move/etc element.

Is there possibility to disable Gizmo without “locking” element?

or just creating custom “mode” for editing element?

This modes i mean:

ok i think i found solution.

_forward_3d_gui_input from EditorPlugin allows return true that will block any editor actions related to this input, so i just blocked(returned true) mouse button when plugin in edit mode.