gfx.glow.set_enabled

Client

Toggles the glow post-processing effect


Syntax

local status = gfx.glow.set_enabled(
    state
)

Parameters

TypeNameDescription
boolstateDetermines glow's state:
• When true - glow is enabled
• When false - glow is disabled

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Toggle glow
-- Enable glow
gfx.glow.set_enabled(true)

-- Disable glow
gfx.glow.set_enabled(false)

On this page