We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I have a function draw_my_line to draw a line. I call it from the draw method. I want to delete the old line when the draw_my_line method is called. Any idea? thanks
call background(bgColor) just before calling draw_my_line() again?
background(bgColor)
draw_my_line()
I assume you are not clearing the bg every frame, right?
Answers
call
background(bgColor)
just before callingdraw_my_line()
again?I assume you are not clearing the bg every frame, right?