# Line thickness/width in drawing functions

**URL:** <https://forum.makecode.com/t/line-thickness-width-in-drawing-functions/14160>\
**Category:** Help\
**Tags:** graphics-and-math\
**Created:** [June 21, 2022, 5:01pm UTC](https://forum.makecode.com/t/line-thickness-width-in-drawing-functions/14160 "2022-06-21T17:01:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vegz78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vegz78/32/1201_2.png) [@Vegz78](https://forum.makecode.com/u/Vegz78)\
**Post date:** [June 21, 2022, 5:01pm UTC](https://forum.makecode.com/t/line-thickness-width-in-drawing-functions/14160/1 "2022-06-21T17:01:33Z")

</div>

Hi,

I was just playing around with the [Logo-like extension](https://github.com/microsoft/pxt-screen-turtle).

Great tool, but I thought it would also be possible to change the line width/thickness, but that was sadly missing. On further investigation, I discovered that the underlying basic [drawLine function](https://github.com/microsoft/pxt-screen-turtle/blob/cf914caea8327c99ac2437c6a38162b37a117096/turtle.ts#L77) does not have this option either(nor did any other of the drawing functions, from what I could see).

Is there any way inside MakeCode Arcade, to override the drawLine function somehow, or otherwise, to include also line width/thickness in general or so that it would work with the turtle extension?

Alternatively, does anyone know if there already exists an extension for this?

Or, would the @makecode team consider or have a view on adding line width/thickness \> 1 pixel as a general argument to pass to the various drawing functions as a future feature?

Br,  
Vegard

---

<div class="post-metadata">

**Author:** ![Vegz78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vegz78/32/1201_2.png) [@Vegz78](https://forum.makecode.com/u/Vegz78)\
**Post date:** [October 2, 2023, 5:56pm UTC](https://forum.makecode.com/t/line-thickness-width-in-drawing-functions/14160/2 "2023-10-02T17:56:35Z")

</div>

Anybody who knows how one could go about drawing lines with thickness greater than 1 pixel?

> **[draw Line](https://arcade.makecode.com/reference/images/image/draw-line)**
>
> Draw a line from one point in an image to another point.

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [October 2, 2023, 7:40pm UTC](https://forum.makecode.com/t/line-thickness-width-in-drawing-functions/14160/3 "2023-10-02T19:40:49Z")

</div>

That’s not implemented, you’d have to write your own method for that
