Garry's Mod Wiki

Revision Difference

DLabel:GetToggle#513623

<function name="GetToggle" parent="DLabel" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ Returns the current toggle state of the label. This can be set with <page>DLabel:SetToggle</page> and toggled with <page>DLabel:Toggle</page>.⤶ ⤶ In order to use toggle functionality, you must first call <page>DLabel:SetIsToggle</page> with `true`, as it is disabled by default.⤶ </description>⤶ <realm>Client</realm>⤶ <rets>⤶ <ret name="" type="boolean">The current toggle state.</ret>⤶ </rets>⤶ </function>⤶ ⤶