Solved
Hello
Try to put an invalidate before "box1.setX ( box1.getX () - 1 );".
With only one invalidate at the end, it will only invalidate the area in the new position, so the line outside will not be refreshed. Also if you move your box in the screen you may have a (w+1) * h box due to that.
Best regards,
Louis BOUDOST Software Engineer | TouchGFX


