Use sides and size variables for customize your polygon ! Use green, red and blue variables for change shape color. If you do the shape too bigger, that will touch border and create a stupid thing. Sorry for that. Press spacebar to create your shape.
All is maked with Scratch.