PlaySfx

Category: Audio

Back to System Functions


Signature

PlaySfx(sfxReference As Integer)

Returns

Void

Description

Starts one-shot playback of a loaded sound effect.

If the sound effect is already playing, it restarts from the beginning.

Example

PlaySfx(jumpSfx)