kiryha Posted September 28, 2018 Share Posted September 28, 2018 How can I determinate if a user has pressed a CTR key clicking on custom shelf tool? I found this topic in this topic in the documentation but confused how to apply this. I need to run a different function if a user pressed CTR with a click on the shelf tool. Quote Link to comment Share on other sites More sharing options...
gemini Posted September 28, 2018 Share Posted September 28, 2018 Use it in you conde: SHIFT_CLK = kwargs["shiftclick"] CTRL_CLK = kwargs["ctrlclick"] ALT_CLK = kwargs["altclick"] Cheers! G 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.