Unnamed
public text v1 · immutablemouseDown = false
startMouseX = 0
startMouseY = 0
function GM:GUIMousePressed(mc)
if (!mouseDown) then
startMouseX,startMouseY = gui.GetMousePos() -- whatever
mouseDown = true
end
end
mouseDown = false
startMouseX = 0
startMouseY = 0
function GM:GUIMousePressed(mc)
if (!mouseDown) then
startMouseX,startMouseY = gui.GetMousePos() -- whatever
mouseDown = true
end
end