How to make a 2d line?

I would like help drawing a simple line between 2 points in a 2d scenario,can someone help me?

Hi @Lendork and welcome!

I think the drawLine API can help you.

1 Like

You could also scale a square image to be thin enough to look like a line. An example: