self:StartMoving() self:StopMovingOrSizing() self.Back:SetBlendMode("ADD") self.Back:SetBlendMode("BLEND") if self:HasFocus() then -- if mouse is down while over an active texture, don't "press" the main button self.Back:SetBlendMode("BLEND") end if GetMouseFocus()==self then -- if mouse goes up after it left button, don't "unpress" it self.Back:SetBlendMode("ADD") end self.Back:SetBlendMode("ADD") self.Back:SetBlendMode("BLEND") if self:HasFocus() then -- if mouse is down while over an active texture, don't "press" the main button self.Back:SetBlendMode("BLEND") end if GetMouseFocus()==self then -- if mouse goes up after it left button, don't "unpress" it self.Back:SetBlendMode("ADD") end