How to rewrite shift function Development

Hi all
I want to rewrite the shift key function in Python,but I can not find the origin code about the function, could you tell me where to find the code about shift key and mouse move in slicer?

I’m not sure it will be easy to do that in python. You can study the code for vtkMRMLCrosshairNode to see if it can do what you want.

1 Like

thank you for your help.