Skip to content

SoundLoop beta ​

Interface of @v12-engine/client

ts
export interface SoundLoop

A sound that loops (SoundPlayer.loop): how loud, and stopping it

Members ​

stop ​

ts
stop(): void;

Stops the loop; it cannot be started again

volume ​

ts
volume(level: number): void;

Sets the loop's volume to level, 0 to 1 and over