Difference between revisions of "Mouse click (event)"

From ComputerCraft Wiki
Jump to: navigation, search
(Created event page)
(No difference)

Revision as of 11:55, 30 November 2012

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:55, 30 November 2012 (MSK))


Grid Modem.png  Event mouse_click
Fired when the terminal is clicked.
Returned Object 1 The mouse button that was clicked.
Returned Object 2 The X-coordinate of the click (in screen-characters).
Returned Object 3 The Y-coordinate of the click (in screen-characters).