# How to have lines infront of moving object

**URL:** <https://discourse.processing.org/t/how-to-have-lines-infront-of-moving-object/36839>\
**Category:** Beginners\
**Created:** [May 12, 2022, 7:08am UTC](https://discourse.processing.org/t/how-to-have-lines-infront-of-moving-object/36839 "2022-05-12T07:08:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-54](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@anonymous-54](https://discourse.processing.org/u/anonymous-54)\
**Post date:** [May 12, 2022, 7:08am UTC](https://discourse.processing.org/t/how-to-have-lines-infront-of-moving-object/36839/1 "2022-05-12T07:08:02Z")

</div>

i made the object stop/get stuck at a line top right of the screen how do i make the lines appear above my moving object which is controlled by mousex and mousey

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [May 12, 2022, 8:22am UTC](https://discourse.processing.org/t/how-to-have-lines-infront-of-moving-object/36839/2 "2022-05-12T08:22:24Z")

</div>

Unclear what you mean.

In a 2D Sketch what is on top of what is determined  
by the order you draw it.

So draw the lines last.
