Is there a way to trigger an interactive, mouse-driven input event— Like the built-in [G]
, [R]
, [S]
, [CTRL]+[R]
, etc. hotkeys— and get the user input in Python?
$\begingroup$
$\endgroup$
2
-
$\begingroup$ ...I suppose I could try overloading, wrapping, parsing the outcomes of, and undoing one of the built-in transform tools, but that'd obviously be bad. $\endgroup$– Will ChenCommented Mar 19, 2021 at 15:43
-
2$\begingroup$ I think the thing you're looking for is 'Modal Operators'. There are some templates in the Text Editor Templates section that show examples. $\endgroup$– Rich SedmanCommented Mar 19, 2021 at 18:04
Add a comment
|