Reference for play_once
Play a sound once. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
Image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
Sound (future)
play_once
Style
System
Text
Transform
Purpose
Play a sound once before stopping.
Snippet
Load sample.wav and play it once.
sound = sketch.get_sound_layer()get_sound('sample.wav') sound.play_once()
Availability
Not yet available. Planned for future release.