Garry's Mod Wiki

DLabel:Toggle

  DLabel:Toggle()

Description

Toggles the label's state. This can be set and retrieved with DLabel:SetToggle and DLabel:GetToggle.

In order to use toggle functionality, you must first call DLabel:SetIsToggle with true, as it is disabled by default.