Garry's Mod Wiki

DPanel:GetDisabled

  boolean DPanel:GetDisabled()

Description

Returns whether or not the panel is disabled.

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).