Panel:SetEnabled
Example
Crates a panel that is enabled and a panel that is disabled.
Output: 

Sets the enabled state of a panel object that supports being disabled, such as a DButton or DTextEntry.
Disabled panels cannot be interacted with, and have a different appearance to indicate this.
See Panel:IsEnabled for a function that retrieves the "enabled" state of a panel.
Crates a panel that is enabled and a panel that is disabled.
