Determines whether OnEnter/OnLeave scripts will fire while the button is disabled

Signature:

isEnabled = Button:GetMotionScriptsWhileDisabled()

Returns:

  • isEnabled - 1 if motion scripts run while hidden; otherwise nil (1nil)