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

Synopsis

mute [-disable] [-force]

mute is undoable, queryable, and NOT editable.

The mute command is used to disable and enable playback on a channel. When a channel is muted, it retains the value that it was at prior to being muted.

Return value

string[]Name(s) of the mute node(s)

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

Keywords

mute, animation, channels

Related

setKeyframe

Flags

disable, force
Long name (short name) Argument types Properties
-disable(-d) create
Disable muting on the channels
-force(-f) create
Forceable disable of muting on the channels. If there are keys on the mute channel, the animation and mute node will both be removed. If this flag is not set, then mute nodes with animation will only be disabled.

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

// Mute playback of the ry channel of the sphere's ty
//
string $sph[] = `polySphere`;
setKeyframe ($sph[0]+".translate");
mute ($sph[0]+".translateY");

// Query whether ty is muted
mute -q ($sph[0]+".translateY");

// Disable muting on any muted attributes on the sphere
//
mute -disable $sph[0];