Rematch.PetListButtonOnDragStart(self) self:GetScript("OnMouseUp")(self) Rematch.LoadoutPanel.LoadoutButtonReceivePet(self) -- this button is a hyrbid that can both receive pets and handle PetClicks if not Rematch.LoadoutPanel.LoadoutButtonReceivePet(self) then Rematch.PetListButtonOnClick(self,button) end self.Anim:Play() self:SetFrameLevel(self:GetParent():GetFrameLevel()+5) self.timer = (self.timer or 0)+elapsed if self.timer>2 then self.timer = 0 if not MouseIsOver(self) and not MouseIsOver(self:GetParent()) then Rematch:HideFlyout() end end Rematch:HideWidgets()