A Polygon Widget is used for drawing 2D polygons, and the polygons can be conveniently edited both in UMG editor and at runtime.
Tutorial: https://youtu.be/J3gUOORAoqQ