Click the ball to shoot. Press the green flag twice if they don't straight up.
Sometimes, it can be not accurate. See this -> https://scratch.mit.edu/projects/1062016936/