Garry's Mod Wiki

DLabel:GetToggle

  boolean DLabel:GetToggle()

Description

Returns the current toggle state of the label. This can be set with DLabel:SetToggle and toggled with DLabel:Toggle.

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

Returns

1 boolean
The current toggle state.