Sound

Plays a sound in the Lens. Add the sound you want, and the Lens can start it, pause it and resume it.

Camera, Audio & Sensors

Camera feed, hand and face tracking, touch, tilt, haptics, and sound.

Made with this block

Inputs

soundmp3

A sound to play

Functions

playvoid

Plays a sound

pausevoid

Pauses the sound - useful for longer tracks. Only call if a user explicitly requests it.

resumevoid

Called if the user paused the sound track