Changing expressions with hand gestures
Make a peace sign and you smile. Make a fist and you look angry. In this tip, you build the system that changes your expression with hand gestures yourself, in the FX Animator. It covers the gesture numbers, which hand takes priority, how expressions overlap with blinking and mouth movement, and how to use grip strength.
Published · This covers Unity's Built-in Render Pipeline and VRChat avatars (Avatars 3.0). Accurate as of November 2026.
Read this when
- You want your expression to change with hand gestures.
- You want to move an expression on an avatar you bought to a different hand gesture.
- You want to decide which expression shows when your left and right hands make different gestures.
- When your expression changes, blinking or mouth movement overlaps it and your face looks broken.
What you'll build
In this tip, you build the following. It assumes you have already used layers, states, transitions and parameters once in #8 Building a menu toggle.
- Expression clips
- Make an animation clip for each gesture's face that only writes BlendShapes (shape keys).
- Left hand layer
- Make a Left Hand layer in FX, and switch expression states by the GestureLeft number.
- Right hand layer
- Make a Right Hand layer the same way. When your two hands make different gestures at once, the right hand wins.
- Blink and mouth layer
- Stop VRChat's blinking and mouth movement only while an expression is showing.
- Menu on/off
- For times you don't want your expression to change, let a menu switch turn off gesture expressions.
Most avatars you buy already have a hand-gesture expression system in their FX. Open FX in the Animator and look for layers named something like Left Hand, Right Hand or Gesture. If they're there, it's quicker to swap that layer's clips or change the transition numbers than to build new ones, and nothing will clash.
If you build new layers and connect them, delete or disable the original gesture layers. If two layers write the same BlendShapes, it becomes hard to tell which expression will show (the reason is explained below in "Left and right hand layers and priority").
Gesture numbers
VRChat turns your current hand gesture into a number and puts it in Int parameters called GestureLeft (left hand) and GestureRight (right hand). VRChat fills in both automatically. You don't need to add them to Expression Parameters, and VRChat sends them to other people too.
To use them, just add them to the Animator's Parameters with the same name and the same type (Int). Match the names exactly, including upper and lower case.
| Number | Name | Hand shape | Expression in this tip's example |
|---|---|---|---|
| 0 | Neutral | A relaxed hand (loosely open) | Normal face (Face_Neutral) |
| 1 | Fist | A closed fist | Angry (Face_Angry) |
| 2 | HandOpen | All fingers spread wide (open hand) | Surprised (Face_Surprise) |
| 3 | FingerPoint | Only the index finger out (pointing) | Deadpan stare (Face_Jito) |
| 4 | Victory | Index and middle fingers up (peace sign) | Smile (Face_Smile) |
| 5 | RockNRoll | Index and little fingers up | Wink (Face_Wink) |
| 6 | HandGun | Thumb and index finger up (finger gun) | Sad (Face_Sad) |
| 7 | ThumbsUp | Only the thumb up (thumbs up) | Big laugh (Face_Laugh) |
The numbers and names come from VRChat's Animator Parameters page (opens in a new tab). The hand shapes are a rough guide. Which fingers you move, and how, to get each number depends on your controller.
You don't have to give every gesture an expression. People often leave out Fist, which tends to happen when you hold things, and FingerPoint, which tends to happen while you talk.
Make the expression clips
You make an expression by writing BlendShape values into an animation clip. How to make a clip (recording) is explained in #7 Making animations. Here are the rules to follow for expression clips.
- In the Project window, make a folder for your expression clips (e.g.
Assets/MyGesture). Right-click and chooseCreate → Animationto make clips with the names in the right column of the table (e.g.Face_Smile). Also makeFace_Neutralfor your normal face. - Select your avatar in the Hierarchy and open the Animation window with
Window → Animation → Animation. In the top left, switch the clip toFace_Smileand press the record button (the red circle). - In the Hierarchy, select the face mesh (a Skinned Mesh Renderer such as Body), and raise the values of the BlendShapes you use for the smile under
BlendShapesin the Inspector. Because you're recording, the values you change are written into the clip. - Write every BlendShape you use for expressions into every clip. In the smile clip, also write the BlendShapes for the angry and surprised faces, set to 0. On an avatar with Write Defaults OFF, a BlendShape that isn't in the clip keeps its previous value. If you write them all, you get the same expression whether Write Defaults is ON or OFF.
- Don't write BlendShapes that have nothing to do with expressions (shrinking the body, blush, hiding clothes and so on). If you do, your body shape will change too when you switch gestures. Press the record button again to stop recording.
- Make the other expressions the same way.
Face_Neutralis a clip that writes every expression BlendShape at its normal value (usually 0).
- These are the BlendShapes for the smile. Only these go up.
- Also write the BlendShapes for the other expressions, set to 0, so the previous expression's values don't stay behind.
To see what happens when unrelated BlendShapes get in, read "Gestures change unrelated parts" in #13 It looks different in Unity and VRChat.
Left and right hand layers and priority
Put the left hand and the right hand on separate layers in FX. The Left Hand layer only looks at GestureLeft, and the Right Hand layer only looks at GestureRight.
Both layers write the same face BlendShapes. When two layers write the same thing, the layer lower in the Animator's Layers list wins. This is because the lower layer writes over the values the upper layer wrote.
| Right hand (lower layer) | Left hand (upper layer) | Expression you see |
|---|---|---|
| Neutral (0) | Neutral (0) | Normal face |
| Neutral (0) | Victory (4) | Left hand's smile |
| Fist (1) | Neutral (0) | Right hand's angry face |
| Fist (1) | Victory (4) | Right hand's angry face (the lower layer wins) |
For the table to work this way, there's one important rule. In the lower layer's (right hand's) Neutral state, don't write any expression BlendShapes. If the right hand's Neutral writes "all 0", it overwrites the left hand's expression and makes it disappear, even when your right hand is doing nothing.
So in the right hand's Neutral, put Face_None, a clip that writes no expression. In the upper left hand layer's Neutral, put Face_Neutral, your normal face. When both hands are Neutral, the left hand layer writes your normal face, so your face goes back to normal.
Face_None can be an empty clip. However, putting an empty clip in a state with Write Defaults OFF is said to sometimes cause problems, such as values staying behind. If you're worried, make an empty GameObject inside your avatar (e.g. FaceDummy), and record a clip that only writes that GameObject as on (Is Active). Nothing happens to your face.
Which hand gets priority
- Put the hand you use more at the bottom
- Put the layer for the hand you usually use for expressions at the bottom. When you use both hands, that hand's expression shows.
- Put the hand that holds things at the top
- If one hand tends to make a Fist when holding things, put it at the top. Your expression is then less likely to change on its own while you hold something.
- How to change the order
- In the Animator's Layers list, drag a layer's name up or down.
Make the layers and states
Make the expression layers in your own Animator Controller that you connect to FX. How to make a controller and connect it to your avatar is explained in #8 Building a menu toggle.
- Double-click your Animator Controller to open it in the Animator window (
Window → Animation → Animator). - In the
Parameterstab at the top left, press+, chooseInt, and name itGestureLeft. AddGestureRightthe same way. - In the
Layerstab, press+and name the new layerLeft Hand. Press the gear to the right of the layer and setWeightto 1. A new layer starts with Weight 0, so it won't work as is. - Drag the 8 expression clips from the Project window onto an empty spot in the Animator window. You get 8 states with the same names as the clips.
- Right-click the
Face_Neutralstate and chooseSet as Layer Default State. The state that turns orange is the one the layer enters first. - Select the states one by one and set
Write Defaultsin the Inspector to match your avatar's other layers (if you're not sure, select one of the original FX states and check). - Make a
Right Handlayer the same way and set its Weight to 1. In this one, putFace_Nonein the Neutral state and make it the default. Check thatRight Handis belowLeft Hand.
Transition settings
When the gesture changes, the layer should move straight to that expression's state. Draw the transitions from Any State, so it can move from whatever state it's in.
- In the
Left Handlayer, right-click the light blueAny State, chooseMake Transition, then click theFace_Smilestate. An arrow appears. - Click the arrow and press
+underConditionsin the Inspector. Set it toGestureLeft,Equals,4. This means "when the left hand is Victory (4)". - Uncheck
Has Exit Time. If it's checked, the transition waits until the previous state's clip finishes. - Open
Settingsand setTransition Durationto about 0.1. The expression changes softly. For on/off gimmicks you used 0, but expressions look more natural with a little time. - Uncheck
Can Transition To Self. If it's checked, the layer re-enters the state every frame while it's in it, so the expression flickers or never fully changes. - Make transitions from Any State to the other numbers the same way (including 0 for Neutral). Only change the number.
- Do the same in the
Right Handlayer. UseGestureRightin the Conditions.
▼ Settings
Conditions
- Uncheck it, so the expression changes as soon as you change your gesture.
- For expressions, about 0.1 gives a smooth change.
- Always uncheck this on transitions from Any State.
- The condition is "when the left hand is Victory (4)".
The transition settings for on/off gimmicks are explained in #8 Building a menu toggle.
Try it out
Change the left and right hand gestures, which layer is at the bottom, and what goes in the lower layer's Neutral, and see which expression shows.
Left Hand layer (upper)
Smile
Right Hand layer (lower)
Writes no expression
Expression you see
The Right Hand layer, which is lower, is in Neutral and writes no expression. The "Smile" written by the Left Hand layer above shows as it is.
You see: Smile (from the Left Hand layer)
Overlap with blinking and mouth (Tracking Control)
Apart from expressions, VRChat moves your blinking and your mouth shape (the mouth movement when you talk, called visemes) on its own. If an expression clip closes the eyes or opens the mouth, blinking or mouth movement gets layered on top. The eyes can look like they're flipping inside out, or you get a double mouth.
VRC Animator Tracking Control prevents this. Add it to a state, and when the layer enters that state, it can stop VRChat's blinking or mouth movement (Animation) or bring it back (Tracking). No Change leaves the current setting alone. The setting stays until another state changes it again (VRChat's State Behaviors page (opens in a new tab)).
If you add it separately to the left and right hand layers, blinking comes back in the middle of the other hand's expression when you relax one hand. So make one layer that only handles blinking and the mouth.
- In the
Layerstab, press+and make a layer calledEyes Mouth. Press the gear and set Weight to 1. - Right-click an empty spot and choose
Create State → Emptyto make two states. Name themTracking(normally) andAnimation(while an expression is showing). MakeTrackingthe default. PuttingFace_Nonein each state's Motion makes it safe even with Write Defaults OFF. - Select the
Animationstate, pressAdd Behaviourin the Inspector and chooseVRC Animator Tracking Control. SetEyes & EyelidstoAnimation. If your expressions also change the mouth shape, setMouth & JawtoAnimationtoo. Leave the other parts onNo Change. - Add the same Behaviour to the
Trackingstate, and set the parts you just changed toTracking. - Draw two transitions from
TrackingtoAnimation. The first one's condition isGestureLeft NotEqual 0, and the second one's isGestureRight NotEqual 0. Separate transitions mean "either hand". - Draw one transition from
AnimationtoTrackingand add two conditions:GestureLeft Equals 0andGestureRight Equals 0. Several conditions on one transition mean "both hands". On every transition, uncheck Has Exit Time and set Transition Duration to 0.
- Stops blinking and eye movement while an expression is showing.
- If an expression changes the mouth, this stops mouth movement when you talk. While it's stopped, your mouth won't move when you talk.
If none of your expressions change the mouth, it's more natural to leave Mouth & Jaw running so your mouth moves when you talk. To decide per expression, change the conditions so that only that gesture's number moves the layer to Animation.
Changing an expression gradually with grip strength
GestureLeftWeight and GestureRightWeight are Float parameters that show how far you're pulling the trigger, from 0 to 1. For example, when you make a Fist without pulling the trigger, GestureLeft is 1 and GestureLeftWeight is 0. It gets closer to 1 as you pull.
With this, you can make an expression like "the harder you squeeze your fist, the angrier you look". It works the same way as a gimmick that changes gradually with a menu radial: Motion Time (#9 Switching in steps and changing gradually).
- Add
GestureLeftWeightas aFloatto the Animator's Parameters. - Duplicate the angry clip and set two keys: your normal face at the first frame (0), and the angry face at the last frame.
- Select the
Face_Angrystate in theLeft Handlayer and change its Motion to this clip. In the Inspector, checkParameternext toMotion Timeand chooseGestureLeftWeight.
Grip strength is sent to other people too, but not very often. To others, the change may look a little less smooth.
Stopping expressions from the menu
This is a switch that keeps your expression from changing on its own when you take photos or hold things. Add one Bool parameter and add it to the transition conditions.
- Add a Bool called
GestureFaceOffto Expression Parameters (check Saved and Synced, leave Default unchecked). Put a Toggle for this parameter in your menu. You add them the same way as in #8 Building a menu toggle and #8 Building a menu toggle. - Also add
GestureFaceOffas a Bool to the Animator's Parameters. - In the
Left Handlayer, select each transition to an expression other than Neutral, one by one, and addGestureFaceOff,falseto its Conditions. This means "only while expressions aren't stopped". - Draw one more transition from Any State to Neutral, with the condition
GestureFaceOff,true. The moment you stop expressions, your face goes back to normal. - Add the same conditions to the
Right HandandEyes Mouthlayers. InEyes Mouth, add a transition that goes back toTrackingwhenGestureFaceOffis true.
Connect it to your avatar and test
- Connect your Animator Controller to FX with Modular Avatar's MA Merge Animator. See #8 Building a menu toggle for how.
- If you have Gesture Manager installed, you can press Play in Unity and test by choosing left and right hand gestures. Try the left hand only, the right hand only, then both, and check that you get the expressions in the table.
- If you press Play with your avatar selected in the Animator window, the current state is highlighted in blue. When an expression doesn't show, check which state of which layer it's in.
Common problems and fixes
The left hand's expressions don't show
- What happens
- Expressions you made with the right hand show, but left hand gestures don't change your expression.
- Cause
- The Neutral in the lower Right Hand layer writes every expression BlendShape as 0 and overwrites the left hand's expression.
- Fix
- Change the clip in Right Hand's Neutral to Face_None, which writes no expression.
Expressions mix together
- What happens
- When you change from smile to angry, two expressions mix, such as smiling eyes with an angry mouth.
- Cause
- Write Defaults is OFF and the angry clip doesn't write the smile's BlendShapes, so the smile's values stay behind.
- Fix
- Write every expression BlendShape into every clip. Set the ones that expression doesn't use to 0.
The expression flickers or doesn't fully change
- What happens
- While you hold a gesture, the expression flickers or stops partway.
- Cause
- Can Transition To Self is checked on the transitions from Any State, so the layer re-enters the state every frame.
- Fix
- Select each transition from Any State and uncheck Can Transition To Self.
The expression lags behind
- What happens
- There's a delay between changing your gesture and your expression changing.
- Cause
- Has Exit Time is checked on the transitions, or Transition Duration is too long.
- Fix
- Uncheck Has Exit Time and set Transition Duration to about 0.1.
Blinking or mouth movement overlaps
- What happens
- On an expression with closed eyes, blinking overlaps and the eyes break. On an expression with an open mouth, talking gives you a double mouth.
- Cause
- VRChat's blinking and mouth movement are moving on top of the expression.
- Fix
- Make an Eyes Mouth layer, and use Tracking Control to set Eyes & Eyelids (and Mouth & Jaw) to Animation while an expression is showing.
Both the original expression and yours show
- What happens
- With the same gesture, the avatar's original expression and the one you made switch back and forth.
- Cause
- The avatar's original gesture layers and your layers both write the same BlendShapes.
- Fix
- Keep only one of them. Swapping the clips in the original layers causes the fewest clashes.
When your expression doesn't go back after you relax your hand, or your body shape changes too, see #13 It looks different in Unity and VRChat.
Things to watch out for
- Only write face BlendShapes in expression clips. Don't write body shapes, clothes or object on/off.
- It's safer not to write the BlendShapes used for blinking (the ones in Eyelids on the VRC Avatar Descriptor) in expression clips. They can clash with VRChat's blinking.
- Don't mix Write Defaults ON and OFF in the same controller.
- If an expression tool or an avatar update rebuilds FX, your changes may be lost. Keep copies of the clips you changed in a separate folder.
- If you swap the order of the left and right hand layers, swap their Neutral clips too. The lower layer's Neutral is Face_None, and the upper layer's Neutral is Face_Neutral.
Summary
- Hand gestures go into GestureLeft and GestureRight as numbers from 0 to 7. You don't need to add them to Expression Parameters.
- In expression clips, write every BlendShape used for expressions, and nothing unrelated.
- When layers write the same BlendShapes, the lower layer wins. Put a clip that writes no expression in the lower layer's Neutral.
- Transitions from Any State use Equals conditions, no Has Exit Time, and no Can Transition To Self.
- When blinking or the mouth clashes, stop them with VRC Animator Tracking Control.