| Class | Rubygame::MouseDownEvent |
| In: |
ext/rubygame/rubygame_mixer.c
lib/rubygame/event.rb |
| Parent: | Rubygame::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] |