Keyboard and mouse

The โŒจ Keyboard & mouse column.

Simple Advanced Expert show the mode each one first appears in. once marks a red condition: it happens once, at a moment. See how to read these pages.

Conditions ยท 8

The When half of a rule.

NameWhat it doesReads as
Upon pressing a key once
simple
True once, the moment a key goes down. Holding it doesn't repeat it.
Asks for: Key
Upon pressing Space bar
Repeat while a key is pressed
simple
True all the time a key is held down.
Asks for: Key
While Space bar is pressed
User clicks once
advanced
True once whenever the player clicks anywhere.User clicks the mouse
Mouse button is held down
advanced
True all the time the mouse button is held down.Mouse button is held down
User clicks on an object once
simple
True when the player clicks on that object. Only the clicked copy is picked.
Asks for: Object
User clicks on ?
Upon pressing any key once
simple
True once whenever any key goes down. Perfect for "Press any key to start".Upon pressing any key
The mouse is over an object
simple
True while the mouse pointer is over the object. Only the ones under the pointer are picked.
Asks for: Object
The mouse is over (choose an object)
User clicks with a button once
advanced
True once when the player clicks with the button you choose: left, right, or a double-click.
Asks for: Button (Left click / Right click / Double-click)
User clicks

Actions ยท 2

The Do half of a rule.

NameWhat it doesReads as
Hide the mouse pointer
advanced
Hides the mouse pointer over the game, so you can use a sprite as your own pointer or crosshair.Hide the mouse pointer
Show the mouse pointer
advanced
Shows the mouse pointer again.Show the mouse pointer

Still stuck?

Try the Chocobreak tutorial, open a sample game and read its rules, or look at the questions people ask.