| Class | Rubygame::MouseDownEvent |
| In: |
lib/rubygame/event.rb
ext/rubygame/rubygame_transform.c |
| Parent: | Event |
Indicates that a mouse button was pressed.
This event has these attributes:
| string: | string indicating the button that was pressed ("left","middle", or "right"). | ||||||
| pos: | the position of the mouse cursor when the button was pressed, in the form [x,y]. | ||||||
| button: | the mouse button that was pressed; one of these constants in module Rubygame (or the corresponding button number):
|
| button | [RW] | |
| pos | [RW] | |
| string | [RW] |