Go to: Synopsis. Return value. Flags. MEL examples.
mouse [-enableScrollWheel boolean]
[-mouseButtonTracking
int] [-mouseButtonTrackingStatus]
[-scrollWheelStatus]
mouse is undoable, NOT queryable, and NOT
editable.
This command allows to configure mouse.
int |
When -scrollWheelStatus flag is used, will return 1 if
scroll wheel support enabled, otherwise 0.
When -mouseButtonTrackingStatus flag is used, will return
the number of mouse buttons being tracked. |
enableScrollWheel, mouseButtonTracking, mouseButtonTrackingStatus,
scrollWheelStatus
Flag can appear in Create mode of
command |
Flag can appear in Edit mode of command |
Flag can appear in Query mode of command |
Flag can be used more than once in a
command. |
mouse -enableScrollWheel false;
int $mouseEnabled = `mouse -scrollWheelStatus`;
mouse -mouseButtonTracking 1;
int $numberOfMouseButtons = `mouse -mouseButtonTrackingStatus`;