How do you make a sprite leave behind a trail

Hi, I'm working on a school project where we have to make a game. Im making a game where you have to mow lawns. I need a way for the canvas color to change just in certain spots after the mower sprite runs over it. Is this possible to do.

You can paint a rectangle behind the mower, with a slightly different green than the grass.
The Canvas component has the blocks to set paint color, to set line width (important to be able to paint in a single stroke).
The location of the rectangle will depend on the direction the mower moved, and its location.

something like this: