# sm.audio.play

Plays a sound.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.audio.play( sound, position? )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.audio.md#play)

**Availability:** Client only

If position is specified, the sound will play at the given coordinates in the world. Otherwise, the sound will play normally.

For a list of available sounds to play, see [sm.audio.soundList](../Game-Script-Environment/Static-Functions/sm.audio.md#soundlist).

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `sound` | string | The sound to play. |
| `position` *(optional)* | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The world position of the sound. (Optional) |
