Moving content

Hi I have manage to put Arrows on either side on a panorama image that move image to left or right. The left arrow is on the edge of the image. When you click on the arrow it triggers motion path moving to the left.

What I would like is to stop the image from moving when it reaches a certain point on either side to keep the image from moving of the stage into the blank space.

Is there any way this can be done

 

Thanks in advance

2 Replies