Jump to content




Event = Mouse.Drag()


  • You cannot reply to this topic
1 reply to this topic

#1 FoxData

  • Members
  • 159 posts

Posted 13 April 2016 - 07:34 PM

Hi everyone. I had this idea for a new type of system event - This time it checks if the mouse has dragged something (Left/Right click + move mouse).

While true do
Event = Mouse.Drag("Left", "RMB",)
If Event = (1, 1) then print ("You're mouse has reached the corner of the screen - Yaaay!!!")

End
	  End


#2 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 13 April 2016 - 07:42 PM

There already is a mouse_drag event.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users