# Character.setUpDirection

Sets the upward direction of the character's graphics.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
character:setUpDirection( up )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Character.md#setupdirection)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `character` | [Character](../Game-Script-Environment/Userdata/Character.md) | The character. |
| `up` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The direction. |
