self:get_panning_strength
Client
Retrieves the panning strength of the audio-2d instance
Syntax
local result = self:get_panning_strength()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | result | Current panning strength |
Examples
local entity = core.audio_2d.create("sounds/ambient.ogg")
core.engine.print("info", "Panning strength:", entity:get_panning_strength())