This command allows to configure mouse.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
enableScrollWheel (esw) | bool | ||
|
|||
mouseButtonTracking (mbt) | int | ||
|
|||
mouseButtonTrackingStatus (mbs) | bool | ||
|
|||
scrollWheelStatus (sws) | bool | ||
|
Derived from mel command maya.cmds.mouse
Example:
import pymel.core as pm
pm.mouse( enableScrollWheel=False )
mouseEnabled = pm.mouse(scrollWheelStatus=True)
pm.mouse( mouseButtonTracking=1 )
numberOfMouseButtons = pm.mouse(mouseButtonTrackingStatus=True)