Hello there!
I'm in trouble with a sketch that asks me: The function takes as arguments an image (image A) and a parameter (a string)
indicates the direction of travel and can only be set to "up", "down", "right" and "left."
The translation should be done by copying a portion of the image that excludes a strip of
20 pixels from the direction of travel. This portion must be glued
in the original image shifted by 20 pixels in the direction indicated. how can i do that?

thanks
1