# Drawing lines in background

**URL:** <https://forum.makecode.com/t/drawing-lines-in-background/27536>\
**Category:** Help\
**Created:** [March 6, 2024, 9:04pm UTC](https://forum.makecode.com/t/drawing-lines-in-background/27536 "2024-03-06T21:04:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.Someone](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mr.someone/32/23300_2.png) [@Mr.Someone](https://forum.makecode.com/u/Mr.Someone)\
**Post date:** [March 6, 2024, 9:04pm UTC](https://forum.makecode.com/t/drawing-lines-in-background/27536/1 "2024-03-06T21:04:06Z")

</div>

Could someone help, I’ve been trying to draw line to visually connect two sprites, but if I expand the tile map it looks weird.  
Here’s the link: [Line](https://arcade.makecode.com/S12815-70895-32101-09374)  
(don’t host multiplayer)

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [March 6, 2024, 9:41pm UTC](https://forum.makecode.com/t/drawing-lines-in-background/27536/2 "2024-03-06T21:41:52Z")

</div>

[How to draw a line between 2 points](https://forum.makecode.com/t/how-to-draw-a-line-between-2-points/26717)

---

<div class="post-metadata">

**Author:** ![Josef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/josef/32/12457_2.png) [@Josef](https://forum.makecode.com/u/Josef)\
**Post date:** [March 7, 2024, 7:09pm UTC](https://forum.makecode.com/t/drawing-lines-in-background/27536/3 "2024-03-07T19:09:22Z")

</div>

> **[heyoLin](https://arcade.makecode.com/S52335-02360-49785-65331)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Mr.Someone](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mr.someone/32/23300_2.png) [@Mr.Someone](https://forum.makecode.com/u/Mr.Someone)\
**Post date:** [March 7, 2024, 7:16pm UTC](https://forum.makecode.com/t/drawing-lines-in-background/27536/4 "2024-03-07T19:16:43Z")

</div>

I’ve read that, I’m just confused on how to get the line to move with the camera.

---

<div class="post-metadata">

**Author:** ![Mr.Someone](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mr.someone/32/23300_2.png) [@Mr.Someone](https://forum.makecode.com/u/Mr.Someone)\
**Post date:** [March 7, 2024, 7:46pm UTC](https://forum.makecode.com/t/drawing-lines-in-background/27536/5 "2024-03-07T19:46:44Z")

</div>

That’s literally the same code that I had in the discussion [How to draw a line between 2 points](https://forum.makecode.com/t/how-to-draw-a-line-between-2-points/26717)
