Stopping a series of images from appearing on a motion path
Feb 25, 2021
I am building a carousel in Storyline 360 and I'm having difficulty figuring out how to stop the motion path. I have added a group of 10 images (7 which are visible + 3 hidden) to a motion path that I can move left or right. When I click the right arrow I can reveal the 8th, 9th and 10th images - however I cannot stop it. If you continue to click the right arrow the images will eventually scroll off screen.
How do I stop the images from scrolling - or disable the right arrow button - after the last image appears on screen? I have tried a few different storyline tutorials but I haven't noticed this option anywhere.
I have included my file if you wish to see what I have done...
5 Replies
You could have a variable (Let's call it "Clicks") that starts at 0, gets +1 each time the right button is clicked...and then in the Move Group 2 trigger, put a condition "If Clicks is < 3"?
Hi Michael,
One way is to add triggers to the right/left buttons that add or subtract "1" from a counter variable, and then add a conditional to the "move" triggers, like move right if counter > 3. See the attached for an example.
Ok, slight issue with my logic...as the value of clicks would keep going up and up even if the carousel wasn't moving...so I have put logic in to stop the value going above 3 or below 0. Try the attached (oh and I deleted a group from the slide that wasn't visible...just as an FYI.
Love that Chris and I came up with the same solution at the same time!
This is awesome and works exactly how it's needed :)
Thank you to you both for the help!