# Shape.getRight

Returns the direction of a shape's right side.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
shape:getRight(  )
```

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

The direction is affected by the shape's rotation in the world.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `shape` | [Shape](../Game-Script-Environment/Userdata/Shape.md) | The shape. |

**Returns:**

| Type | Description |
| --- | --- |
| [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The shape's right-axis. |
