Moving Pencil On Canvas

I have a question that how can we make a block code such that we show a pencil moving on the canvas?

Add an image sprite on canvas, use a pencil image as sprite's image and use the blocks below

image

1 Like

This is a tutorial https://appinventor.mit.edu/explore/ai2/paintpot-part1

You might need to make the Canvas bigger than the screen size, or else your pencil will not fit in some of the corners.

Now asking in Kodular