ScratchData LogoScratchData
Back to kriblo_test's profile

Example: Using variables for <key pressed> and <touching>

KRkriblo_test•Created June 10, 2020
Example: Using variables for <key pressed> and <touching>
5
4
50 views
View on Scratch

Instructions

A simple example of how you can use variables as inputs to some reporter blocks, such as <key [] pressed> and <touching []>. Commented code inside. Move the circle (Player sprite) using the mouse. Press the A or B keys. The sprite will be green if you touch a sprite AND press (only) the corresponding key. All code by me (@kriblo).

Project Details

Project ID403864186
CreatedJune 10, 2020
Last ModifiedAugust 20, 2020
SharedJune 10, 2020
Visibilityvisible
CommentsAllowed