I was trying to make a line drawing function in turtle but cant get it to work.
(我试图在Turtle中创建线条绘制功能,但无法使其正常工作。)
My aim is to click once to pick an origin for the line and when I click again a line would be drawn.(我的目的是单击一次以选择该线的原点,然后再次单击将绘制一条线。)
I initially wanted to check if the pen was down or if it was up but I dont think that was possible.(我最初想检查笔是否在下降或上升,但是我认为这是不可能的。)
How can I do this without using external libraries.(不使用外部库怎么办?)
Also is there any videos that can help me?(还有没有可以帮助我的视频?)
ask by ChrisCross translate from so