Adjust the Shapes and Sides to what you want, and then press the flag. The sprite will draw 100 triangles first, but after that you can roam free. Don't go to big on outrageous sides, it won't go very well.
Thanks to the Usborne Coding for Beginners using Scratch! Made for 2.0. If you have 3.0, here is that version: https://scratch.mit.edu/projects/294405822/