Garry's Mod Wiki

DPanel:GetDisabled

  boolean DPanel:GetDisabled()

Description

Returns whether or not the panel is disabled.

We advise against using this. It may be changed or removed in a future update. Use Panel:IsEnabled.

Returns

1 boolean
true if the panel is disabled (mouse input disabled and background alpha set to 75), false if its enabled (mouse input enabled and background alpha set to 255).