![]() That’s one condition for each costume, so that the sprite knows what to do. ![]() Notice that there are three ‘if’ conditions in this section of code. #SCRATCH WEDO CODE#At the same time, we want the car to move left or right when we turn the steering wheel, so the blue lines of code tell the car to move along the horizontal axis.įinal part of the code for the racing car, using Lego Wedo tilt sensor blocks It’s controlled by the tilt angle of the sensor, either left, right, or vertical. ![]() The first is to control which costume is used for the racing car sprite. In this code, the tilt sensor is used to instruct two different actions simultaneously. #SCRATCH WEDO HOW TO#
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |