This article explains how to draw polygons with up to 100 sides and stars in Adobe InDesign. There is no keyboard shortcut for the Polygon tool, so you will need to choose the tool from the Toolbar, where it is nested under the Rectangle tool. These instructions work for Adobe InDesign CC 2020, although this functionality has been around on the platform for a long time.
How to Draw a Star in InDesign (Polygon Tool)
Use the Polygon Tool to create a polygon with specific fills, outlines, and effects.
Set the number of sides of your polygon by double-clicking the Polygon Tool in the toolbar to open the Polygon Settings dialog box, where you can change the number of sides of a selected polygon or set the number of sides for polygons. The Polygon Settings box contains an input field for Number of Sides and a field for Star Inset, which is used when drawing stars.
Holding down the Shift key while drawing a polygon makes all sides the same length. For an irregular polygon shape, adjust the polygon after you draw it with the Direct Selection tool. Grab individual anchor points and move them around, or use the Convert Direction Point tool, nested under the Pen tool and accessible with the keyboard shortcut Shift+C. Use it to convert sharp corners to rounded corners.