Arrow keys or WASD to move. Try to dodge the basketballs. If a heart hits you it gives you an extra life.
This game was inspired by bradyboi96's game. You should go check it out. I made a Remix of it (not this game) and added lives as well as tweaked a few things. Here is his project: https://scratch.mit.edu/projects/600217441