Forum Discussion

fraserwexport's avatar
fraserwexport
Community Member
10 days ago
Solved

End an Emphasis Animation (File Attached)

Hi everyone, 

Is there a simple way to end an emphasis animation? I've applied a flashing emphasis to two objects, triggered to happen when the timeline starts. I've then looped them by applying the emphasis again and added a trigger to play when the first emphasis completes. 

I now want to be able to stop these emphasis animations when the user clicks on the objects, but I can't seem to see how to do this. There doesn't seem to be an option in the actions dropdown menu in the trigger wizard along the lines of 'Stop animation'. Does anyone know how to do this? 

My Storyline file is attached.

Any help would be really appreciated! 

Thanks! 

Fraser 

  • You have the right idea where you want to switch Variable1 to True. The only reason it isn't working is because the text boxes that you have the trigger attached to is behind the rectangles, therefore when you click to fire the trigger, the actual item with the trigger attached to it isn't actually being clicked. I hope that makes sense.

5 Replies

  • You have the right idea where you want to switch Variable1 to True. The only reason it isn't working is because the text boxes that you have the trigger attached to is behind the rectangles, therefore when you click to fire the trigger, the actual item with the trigger attached to it isn't actually being clicked. I hope that makes sense.

    • fraserwexport's avatar
      fraserwexport
      Community Member

      Aahh of course! I should've spotted that. Thank you David, that's great. 

      Fraser 

  • You actually have the result on a separate layer once a user clicks. Therefore, one way of doing this would be to go to the Procedure Code layer and turn off the blinking rectangles that are showing up from the base layer by clicking the eyeball icon next to them. Then, you could copy and paste the rectangles from the base layer and put them on the Procedure Code layer and delete the emphasis triggers. This gives you two sets of rectangles, one blinking on the base layer and one non-blinking on the Procedure Code layer. See attached file.

    • fraserwexport's avatar
      fraserwexport
      Community Member

      Aah right, I didn't know about this method. Thank you Kendal! I'll use this more in future. 

      Thanks! 

  • MichaelHinze's avatar
    MichaelHinze
    Community Member

    One option is to add a Visited state to the rectangles and then add a condition to the animation loop to only work when the "button" is not in Visited state (aka "it hasn't been clicked"). See attached a quick example.