With the Collision tool's Polygon mode (⌃⇧⌘5), click the corners of a shape and click the first one again (or press Return) to finish; Esc drops it. The shape takes the palette's kind. It is saved as an invisible obj_studio_collider instance on the layer <collision layer>_shapes (made under the collision layer), its points and kind in Variable Definitions, so GameMaker keeps it too. Click a shape to select it, drag its points, ⌥-click a point to remove it, click the dot in the middle of a side to add one; Delete removes the shape.
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.