User Guide
Table Of Contents
115
sensing sprite then one of the touching blocks will be true. In
response, the script pushes the ghost sprite and the Billy sprite
to the left.
If the player is not at the far right of the Stage, then the change
x by 10 block moves the ghost sprite to the right. It then checks
whether it collides with a wall. If it does, it moves back to its
previous position. If not, it tells the Billy sprite to walk to the
right.
To move left or up, add the following blocks underneath the
entire if key right arrow pressed? block. Duplicate the long
operator block, and all of the touching blocks, and insert them
where the diagram says “See Above”.