PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

PlayLocalSound

Plays a Sound locally, meaning the sound will only be heard by the client calling this function, regardless of where it’s parented to. This function is most useful for playing a Sound locally in the Studio client, for instance in a Script for a Articles/Intro to Plugins|custom plugin.

Parameters

Name Type Default Description

The Sound to be played.

Returns

Return Type Summary

Code Samples


Play Local Sound

This sample creates and plays a sound locally when a button in a custom Studio plugin is pressed.