Click on the background to draw a flower there. This code uses procedures with the Make a Block block.
Code exercise in the book, "Learn to Program with Scratch" by Majed Marji. I added mouse click to draw, the randomize block for different flowers, and larger size variable.