Goal:
Let’s move on to programming Hawkeye.
His code will be quite similar to Captain America! Remember to select his sprite from the list!
Steps:
- Click on Control.
- Drag when backdrop switches to to an empty space.
- Make sure to switch the event to Find Hawkeye.
- Click on Motion.
- Drag set x to and set y to underneath When Backdrop switches to.
- Click on Operators.
- Drag pick random into both both motion blocks.
- Set x from -240 to 240 and y from -130 to 180.
- Lastly, drag show from the looks tab as the last block.