Skip to content

Api > VideoPlayer > GetDirectAudioMute()


VideoPlayer.GetDirectAudioMute(number trackIndex)⚓︎

Gets the direct-output audio mute status for the specified track.

Parameters:⚓︎

Name Type Description
trackIndex number trackIndex

Returns:⚓︎

type Description
boolean direct-output audio mute status for the specified track.

Usage⚓︎

---@type VideoPlayer
local videoplayer;

---@type number
local trackIndex;


local val0 = videoplayer.GetDirectAudioMute(trackIndex)