Answer with how many sides you would like and the length of each side. After the shape is drawn, it will ask you if you'd like to draw another, and the program will continue if you respond with "yes" or "yeah."
Project STEM idea. I used almost all the same code from my previous project "Regular Polygon Generator," altering it to include procedures and simplify the code. All code is by me. Original project: https://scratch.mit.edu/projects/1230314043