Help with this project

Hello Everyone;

Please I need help with the codes that have arrows on them.

1.I want to be able to go back to the canva when I long click the button wipe.
2. I want to be able to share the picture snapped after drawing or writing on them each time I used the share button.
Thank you.

For your Wipe Button you probably want

For your Share button you would probably need to save the Canvas to a file, then share that file using the Sharing component:

(I have not done this myself yet.)

Thank you.
The call canva clear will just clean what is written on the image.

The second block of codes worked. I'm grateful.