Mouse/Keyboard Action
Last updated
Last updated
Use the Mouse/Keyboard Action
block to take an action when the user interacts with elements on the page using the mouse or keyboard.
The block consists of the following (from top to bottom):
Clicked: When the selected element is clicked.
Double-Clicked: When the selected element is double-clicked.
Right-Clicked: When the selected element is right-clicked.
Key Pressed: When a key is pressed with the focus is inside the selected element.
Element: to choose the element.
Event: that allows you to choose from three options:
Tasks: a where you connect blocks that specify what you want done when the event occurs. Use the block to get more information about the event.
The image below shows an example of the Mouse/Keyboard Action block where the block is used to show a message.