Batter up challenge - Barclays Code Playground

Level 2 challenge

Let's knock this out of the park! Tap the space bar at the right time to hit the baseball. In this challenge we need you to first code our game to make this home-run score possible. For this challenge you'll need to access the Scratch website at and search 'Batter up challenge'.

The challenge

Watch this short video to find out your next challenge. Use the Scratch website to complete the challenge and if you get stuck, check out our solution video.

Solution video

Watch this video to see one of the ways you can complete the coding challenge. You can use it to compare against your solution and also get some helpful tips if you’re stuck. 

More challenges

Cloud jumper challenge

Make your world fly past your unicorn sprite. Keep your unicorn in one spot while the clouds come towards it.

Paddle pong challenge

Games are more fun when there's someone to play with. Can you change the project into a two player game? 

Any questions?

Code Playground is all about offering the support you need. If you have a question, comment or suggestion, please don’t hesitate to get in touch. We’d love to hear from you.