Press Space to jump over rocks
Mario myself here is the first game: https://scratch.mit.edu/projects/138501014/ (there are a few glitches btw)