To enable or disable a push button, make a connection to the Push Button part's enabled attribute. For example, create an attribute-to-script connection from the enabled attribute of a Push Button part to a method that answers true or false.