Sound#
Introduction#
The Sound functions play built-in VEXcode sounds through the computer running VEXcode that the V5 Brain is connected to.
Below is a list of all functions:
Actions — Play sounds.
playVexcodeSound— Play a built-in VEXcode sound through the computer.
Actions#
playVexcodeSound#
playVexcodeSound plays a built-in VEXcode sound through the computer running VEXcode that the V5 Brain is connected to.
Usage:
playVexcodeSound(sound);
Parameter |
Type |
Description |
|---|---|---|
|
|
The sound to play: |
Return Value:
This function does not return a value.
// Play the game over sound
playVexcodeSound("game over");