Table of Contents

when () key pressed

Description

Scripts placed underneath this block will activate when the specified key is pressed.

Example

The example demonstrates how to add movement to a sprite using the key detection hat block.

Script

Output

Read More
The example demonstrates how to control the glowing LED using the keyboard keys.

Script

Output

Read More
All articles loaded
No more articles to load