def toggle( self ): if self.toggleSwitch == 0: pm.hotBox() self.toggleSwitch = 1 else: pm.hotBox(release=True) self.toggleSwitch = 0
def toggle(self): if self.toggleSwitch == 0: pm.hotBox() self.toggleSwitch = 1 else: pm.hotBox(release=True) self.toggleSwitch = 0
self.toggleSwitch = 0 def set( onOffBool ): if onOffBool==False:
def set(onOffBool): if onOffBool == False: pm.hotBox(release=True) else: pm.hotBox()