# Emote

Users can express themselves to better immerse themselves in the Metaverse. Users can wave, dance, and cheer. They can also interact with the environment to take seat at designated locations.

Add an **EmoteView** and **GuidComponent** to your GameObject.

Then, create two empty GameObjects under it. Name them "Avatar Destination" and "Player Controller Destination".

<figure><img src="https://4213294372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo4sRWPX77c58Cw1FjKCI%2Fuploads%2FsqaRh4IogAWniqA1k9kX%2FCapture.PNG?alt=media&#x26;token=c55e503b-50be-4a40-aaa1-b3e8bcad0dc2" alt=""><figcaption></figcaption></figure>

*Avatar Destination* is the the location the user's Avatar visuals will be teleported to in the duration of the emote.

*Player Controller Destination* is the location the user's physical collider will teleported to after the emote ends.

These are useful emotes that require to be played at certain locations, such as the sitting emote.

However, these locations will be ignored and the user's position and their avatar's position will remain if the **LOCAL** position of the destination is (0,0,0). This is for emotes that do not require the user to move to a certain location and can be played wherever they alreay are.

Assign them to EmoteView's Avatar Destination and Player Controller Destination property fields accordingly.

<figure><img src="https://4213294372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo4sRWPX77c58Cw1FjKCI%2Fuploads%2FlO9C6xmVQJdGIL7uoYtW%2FCapture.PNG?alt=media&#x26;token=c3d6e624-356f-4301-b5aa-bb453d262465" alt=""><figcaption></figcaption></figure>

In order to play the emote, call EmoteView\.Select(). It will play the emote corresponding to the name of the emote in the View's value.&#x20;

Here is the list of emotes (and their string values) supported by default in HoloFair:

| Emote     | String Value |
| --------- | ------------ |
| Cheer     | cheer        |
| Thumbs Up | thumbsup     |
| Dance     | dance        |
| Applause  | clap         |
| Wave      | wave         |
| Sit       | sitting      |

<figure><img src="https://4213294372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo4sRWPX77c58Cw1FjKCI%2Fuploads%2FHJxqvsl3tl3rEtPDPeNN%2F2023-02-20%2011-22-36_Trim.gif?alt=media&#x26;token=b7a54509-d387-4a97-865f-c353f95870f7" alt=""><figcaption><p>SItting emote</p></figcaption></figure>

<figure><img src="https://4213294372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo4sRWPX77c58Cw1FjKCI%2Fuploads%2FgZ2wKeJ1JnEHksbTzyDC%2F2023-02-20%2011-23-11_Trim.gif?alt=media&#x26;token=98ffcb57-2cb5-499a-911c-a40b35562e6a" alt=""><figcaption></figcaption></figure>
