this is a rotating, filled square. The reason this is "hard" to do is because pen draws with circles, not squares, and if you draw a box shape and call it a square, it will have curved/not-sharp edges and a hollow/empty middle. i also made it able to rotate simply because i was making it for a game that needed it. the filled variable will make the square either filled in or hollow. the size variable changes how big the square is. the resolution is the "sharpness' of the edges. This works by first drawing a circle in the centre, and then choosing a smaller sized circle and going around the edge to make it a square. It then chooses a smaller circle, and goes around the edge again, sharpening the corners. It repeats this for the amount of "resolution". Thats why turning up resolution makes the square have sharper corners. This is something i made a while ago as a part of a game i am working on. The scripting is very messy but ah well.