Custom Blocks: Control

by tracyninety8
See Code Download Embed
Alonzo can be controlled by using the cursor keys and the spacebar. This is because a custom block called "check for key pressed __" returns a boolean value corresponding to whether the specified key was pressed. It's a fun way to recreate the "key __ pressed" predicate block from the Sensing category.

Created February 18, 2020

Last updated February 18, 2020

Published February 18, 2020