Mouse scroll (event)

From ComputerCraft Wiki
Revision as of 11:57, 30 November 2012 by AfterLifeLochie (Talk | contribs) (Created event page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This page needs some serious TLC, stat!
Please help us by cleaning it, fixing it up, or sparing it some love.
(Reason: A demonstration on the use and handling of this event would be beneficial. AfterLifeLochie 15:57, 30 November 2012 (MSK))


Grid Modem.png  Event mouse_scroll
Fired when a mousewheel is scrolled in the terminal
Returned Object 1 The direction of the mouse-scroll (-1 = up, 1 = down).
Returned Object 2 The X-coordinate of the scroll (in screen-characters).
Returned Object 3 The Y-coordinate of the scroll (in screen-characters).