Class | Rubygame::MouseMotionEvent |
In: |
lib/rubygame/event.rb
lib/rubygame/event.rb |
Parent: | Event |
Indicates that the mouse cursor moved.
This event has these attributes:
pos: | the new position of the cursor, in the form [x,y]. | ||||||
rel: | the relative movement of the cursor since the last update, [x,y]. | ||||||
buttons: | the mouse buttons that were being held during the movement, an Array of
zero or more of these constants in module Rubygame (or the corresponding button number):
|
buttons | [RW] | |
buttons | [RW] | |
pos | [RW] | |
pos | [RW] | |
rel | [RW] | |
rel | [RW] |