Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

multiTouch [-gestures boolean] [-trackpad uint]

multiTouch is undoable, queryable, and NOT editable.

Used to interact with the Gestura (multi-touch) library.

Return value

None

In query mode, return type is based on queried flag.

Flags

gestures, trackpad
Long name (short name) Argument types Properties
-gestures(-g) boolean createquery
Enables/Disables multi touch gestures.
-trackpad(-t) uint createquery
Sets the trackpad mode. Values can be:
  • 1 - Cursor Control only
  • 2 - Multi-touch Gestures Only
  • 3 - Cursor and Multi-touch
Note: this is a "Mac" only flag.

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.

MEL examples

// Enable multi-touch gestures.
multiTouch -gestures true;

// To query whether multi-touch gestures are enabled or not:
multiTouch -q -gestures;

// Set the trackpad mode to 'Cursor and Multi-touch'.
multiTouch -trackpad 3;

// To query the trackpad mode:
multiTouch -q -trackpad;