View Single Post
04/08/14, 08:40 AM   #2
Biki
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 34
Lua Code:
  1. control:SetHandler("OnMouseUp", function(_, button)
  2.         if button == 3 then
  3.              -- your code
  4.         end
  5.   end)

Button 1 is left click, 2 is right click and 3 is middle click
  Reply With Quote