if the shape doesn't come out how you want it that's your fault for polygons order the point like this: (-10,10), (10,10), (10,-10), (-10,-10)
thanks to @BrycieBear for the line code (I didn't copy it but I used part of it)