Code makes line diagonally instead of drawing it horizontally

Project link:

1-sentence description of the issue:
Code makes line diagonally instead of drawing it horizontally.
What do you want your code to do?
Make a straight line
What is the code currently doing?
Makes a diagonal line
Screenshots:


6 Likes

Works as intended.

If you wanted it to go straight down from where it started, use self X position.

Otherwise, declare its start position before you draw the trail.

5 Likes

uh i’m confused, with this code it’ll certainly draw diagonally

yep!

4 Likes

I found it, I put it’s set position in the draw a trail block.
although I am confused how that makes a turned line by set position in a block

5 Likes

just imagine you’re holding a pen and you move your hand to another place. because you’re currently holding it while moving, you have drawn a line - that’s why set position can draw lines too :))

5 Likes