this.setAttribute('bgcolor',0xFFFFFF); this.updateByVal(); this.currentVal = !this.currentVal; this.updateByVal(); parent.parent.updateProperties(); return this.currentVal; this.currentVal = bool; this.updateByVal(); if (this.currentVal){ this.setAttribute('bgcolor',canvas.getThemeColor('basebgcolorizer')); } else { this.setAttribute('bgcolor',canvas.getThemeColor('baseMousecolorizer')); }