get global volume||doc135625

September 20, 2022

Format

 TdAudioEngine:getGlobalVolume()

Description

Get the global volume level.


Value Returned

type Description
float volume


Code Samples

local TdAudioEngine = TdAudioEngine.Instance()
print(TdAudioEngine:getGlobalVolume())
end