1 Reply
Ned Whiteley

Hi Dominik,

I have removed the two triggers to move the face when the timeline starts as I assume you don't want it to move until you select one of the arrows. I have also centred the face on the blue rectangle and made both of your motion paths the same length and extended them to move the face to the edges of the blue zone.

I have added a number variable called FacePosition that starts at zero when the face is in the middle, is increased by one each time the right arrow is selected, provided FacePosition is less that one, and is decreased by one each time the left arrow is selected, provided FacePosition is greater than minus one. This means that FacePosition equals zero in the middle, minus one at the left edge of the blue zone and plus one at the right edge of the blue zone. The value of FacePosition is then used to control the activation of the motion paths to ensure that the face always remains within the blue zone.

The only difference between version 2 and version 3 is that, in version 3, I have made the motion paths half as long and so you now have two moves either side of the middle. As a result, the middle is still zero, but the left and right edges are now minus two and plus two respectively.

Hope that helps.

This discussion is closed. You can start a new discussion or contact Articulate Support.