Jagged/Broken Line2D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Inner Stillness

I’m trying to draw a straight Line2D and make it appear/disappear with a Tween Node. Problem is, my line is everything BUT straight. I can clearly see the individual sections of it and for some reason they aren’t perfectly aligned to each other. But they totally should, since I’m drawing straight from (0,0) to (1000,0). enter image description here

I haven’t touched the project settings much, except for stretch, where I choose mode: 2d and aspect: keep. I also checked Hidpi

:bust_in_silhouette: Reply From: Inner Stillness

Alright, I actually solved this a few minutes ago. Just turn on “antialiased” in your Line2D-Node under “Border” and your line will be smooth as silk.