# PlaySound
TIP
playSound(<sound>, <world>, <x>, <y>, <z>, [volume], [pitch], [player])
- Plays a sound in a specific position, if you want this sound to only be heard by specific player(s) that are near that position, change [player] to the player name or an array of player names.
# Parameters
<sound>
The sound to play as string<world>
The world for the sound as string<x>
The X coordinate for the sound as int or float<y>
The Y coordinate for the sound as int or float<z>
The Z coordinate for the sound as int or float[volume]
The volume of the sound as int[pitch]
The pitch of the sound as int[player]
The player(s) to play this sound to as string or array
# Example
1: playSound('camera.take_picture', $world$, $x$, $y$, $z$)
2: sendMessage($player$, "Captured!")