I have a tool script attached to an Area2D and I'm trying to draw a line in the editor as a helper.
When I run the game I can see the line being drawn but in the editor it is not appearing.
Here's the code:
draw_line(Vector2(), Vector2(20,50), Color(1,1,1), 3)
I tried both, process and physics_process.
Sorry if this was asked before, I couldn't find the answer.