There are a variety of gestures that can be triggered on an avatar hand using input signals. These include a fist, flat hand, and different finger combinations. Gestures are built into both the Complete Character and hands only avatar options. Here we'll add a fist gesture to show that a grab action is happening.
Note: This section continues with the configuration and script used in the previous section.
From the Avatars tab, open the Gesture Selection dialog box, then click Add gestures for r_hand. Map the left mouse button to the fist gesture:
Click Apply & Exit to save the gesture settings and run the script again. Now, the grab action and fist gesture are both triggered with the left mouse button: