When the key was pressed …
A block that reproduces the instructions in its interior after pressing the indicated key.
Parameters:
- The key – the keyboard key that calls the block execution.
The instruction sequence is executed only one, it is not looped.
Slider
A block that returns a value from one of the sliders from the built-in gamepad.
Parameters:
- Slider – number of the slider, 1 – upper slider, 2 – lower slider.
Button
A block returning TRUE or FALSE. Depends on whether the indicated keyboard key is pressed.
Parameters:
- Keyboard key – the keyboard key whose state we want to read.
Mouse
Returns X and Y coordinate of mouse cursor OVER THE DRAWING BOARD.
Parameters:
- Axis – X or Y.
Mouse button
Returns TRUE or FALSE whether the left mouse button is pressed OVER THE DRAWING BOARD.
Pivot
A block returning the value read from a tablet or a smartphone accelerator. A value of 50 means the device is set horizontally.
Parameters:
- Pivot axis – vertical or horizontal.
This block does not exist in the version for desktop computers.