All pastes #362231 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-02-18 17:23 UTC
rendered paste body
mouseDown = false
startMouseX = 0
startMouseY = 0

function GM:GUIMousePressed(mc)
  if (!mouseDown) then
    startMouseX,startMouseY = gui.GetMousePos() -- whatever
    mouseDown = true
 end
end