delete old line when new one is created

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



  • _vk_vk
    edited March 2015

    call background(bgColor) just before calling draw_my_line() again?

    I assume you are not clearing the bg every frame, right?

Sign In or Register to comment.