![]() |
Button integer for MouseUp? - Printable Version +- 2DWorlds Forums (http://2dworlds.buildism.net/forum) +-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4) +--- Forum: Bug Reports (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=23) +--- Thread: Button integer for MouseUp? (/showthread.php?tid=5967) |
Button integer for MouseUp? - Anti - 06-19-2011 Well, yeah.. Tools MouseUp event doesnt have the "button" thingie... like link(script.Parent.MouseUp,function(b,p) print(b) print(p) end) And when pressed left mouse button, it should print >1 >0.0,0.0 But, what it prints is.. >0.0,0.0 >nil I think this is a bug, since even wiki says it should return the "Button" :o RE: Button integer for MouseUp? - AK-47 - 06-19-2011 I'll try this with... function onMouseUp(a,b) print(a) print(b) end link(script.Parent.MouseUp, onMouseUp) Yep, won't work... Or maybe the wiki itself was wrong? RE: Button integer for MouseUp? - Jacob__mybb_import1 - 06-19-2011 Fixed. |