Use this:
when I receive [drawhexagon v] set [hexagonsidelength v] to [10] //or the size of the hexagon clear pen down set pen color to [#000000] //or the pen color go to x: (0) y:(100) //or the place you want the hexagon to start repeat (6) move (hexagonsidelength) steps turn clockwise (60) degrees end
Offline
I forgot to mention:
set pen size to (1) //or the thickness of the line you wantAnd if you want the hexagon to be tilted, put this in before everything else:
point in direction (3 v) //or another directionYou might also like to hide the sprite while it draws.
Offline