Let say, I want to make a Gizmo, that will react with mouse position like Loop Cut tool does. So these events are perfect for me:
class MyGizmo(bpy.types.Gizmo): def draw(self, context): print("draw") def draw_select(self, context, select_id=0): print("draw select")
But to get mouse position, typically the
Modal event is used, which have a
event property with mouse position. But I want to get mouse position before the
Invoke. So maybe I can get mouse position differently?