Go to: Synopsis. Return value. Flags. Python examples.
multiTouch([gestures=boolean], [trackpad=uint])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
multiTouch is undoable, queryable, and NOT editable.
Used to interact with the Gestura (multi-touch) library.None
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
gestures(g)
|
boolean
|
![]() ![]() |
||
|
||||
trackpad(t)
|
uint
|
![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # Enable multi-touch gestures. cmds.multiTouch(gestures=True) # To query whether multi-touch gestures are enabled or not: cmds.multiTouch(q=True, gestures=True) # Set the trackpad mode to 'Cursor and Multi-touch'. cmds.multiTouch(trackpad=3) # To query the trackpad mode: cmds.multiTouch(q=True, trackpad=True)