Forum Discussion

HunterBlake's avatar
HunterBlake
Community Member
7 hours ago

Stop Motion Paths on a Trigger

In a quiz game I created, I have trees and clouds in the background that are going by on a continuous motion path. This little game is a monkey named Bongo that is trying to get to the banana tree. He has 3 balloons and if you answer wrong you pop one. I would like to stop the trees and clouds on a trigger in the middle of their motion path. Is that possible? The reason I am struggling is because the motion paths are up to 40s long.

Things I have considered:

  • Pause the timeline when Bongo reaches the banana tree. This works, but the issue with this is that it also pauses the sounds I want to come up after the clouds and trees stop(timeline pauses on base layer). 
  • Set a variable once Bongo lands that stops the loop. The problem I am having here is that the loop is so long that it does not really stop when I want it to. It may keep going from anywhere from 1 to 39 seconds.
  • Thinking about having it just go to the next slide, but not what I wanted to really do.

Here is the review for you to look at on Review 360.

1 Reply

  • Pausing the timeline is the only way I know of. So to fix the sound issue, could you add those elements to a layer and have that layer pause the timeline?