Jump to content




The Mouse-Events


  • You cannot reply to this topic
4 replies to this topic

#1 3istee

  • New Members
  • 11 posts

Posted 25 December 2012 - 10:11 AM

Hello,
this tutorial shall teach the very basics about the mouse events.

Note: For this tutorial you need to know how os.pullEvent() works and what events are.
If you don't, you can look it up here:

Wiki
Forum post

mouse_click
Spoiler

mouse_drag
Spoiler

mouse_scroll
Spoiler


#2 Rwkeith

  • Members
  • 56 posts

Posted 07 January 2013 - 05:51 AM

Good simple tutorial for starting a GUI.

#3 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 07 January 2013 - 06:00 AM

more readable than the wiki +1

#4 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 08 January 2013 - 01:20 AM

Mouse drag and mouse click have 3 numbers for the first argument, the middle scroll is also triggered if clicked / dragged.

#5 Frederikam

  • Members
  • 112 posts
  • LocationDenmark

Posted 08 January 2013 - 03:12 AM

Sounds simple enough, i'll give it a try at some date.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users