# Shape.getVelocity

Returns the linear velocity of a shape.

**Kind:** Function

**Environments:** Game

## Game

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

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

**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 linear velocity. |
