Just another way of drawing a polygon, no trigonometry involved this time around. Set the slider to the number of sides desired.
Tutorial 2.3 from the course Scratch 2, from CRIF Las Acacias.