• Art & Design
  • What would be the easiest way to add a vertical line to my viewport?

I just need a simple straight line to separate my viewport.

Line2D or a thin ColorRect can do the trick here. I'd go for ColorRect unless you need advanced features from Line2D, as it's easier to set up.

Another advantage of a ColorRect is you can set the anchor settings so it resizes if the game window/resolution changes.