if UnitIsTapped("mouseover") and not UnitIsTappedByPlayer("mouseover") then tapped = trueend
if UnitIsTapDenied("mouseover") then tapped = trueend