audio.stereo
stereo(sound_name: string, pan: number, id: number) → {number}
get or set the stereo panning for the specified sound.
me.audio.stereo("cling", -1);
Name | Type | Attributes | Description |
---|---|---|---|
sound_name | string |
audio clip name - case sensitive |
|
pan | number |
<optional> |
the panning value - A value of -1.0 is all the way left and 1.0 is all the way right. |
id | number |
<optional> |
the sound instance ID. If none is passed, all sounds in group will be changed. |
Type | Description |
---|---|
number |
the current panning value |