Step 3 – Get the shark to follow the mouse pointer
We need a way to move the Shark around the screen. But this time we're not going to use the keyboard, but get the Shark to head towards the mouse pointer.
- Above the move 4 steps block, add a blue point towards mouse pointer block
- Try it out and check that it's working OK. Does the shark follow the mouse pointer when you move it around the screen?
That's all there is to it.
Make sure the Shark still bounces when it reaches the side of the screen.