Reset A Motion Path Trigger That Uses Pressing A Button

Jul 27, 2023

Good morning everyone.  I am building a Super Mario type game and to move the character across the screen, you click a keyboard arrow button.

The issue that I have is that if the user has to click, say the right arrow, to move the character forward, Storyline remembers that, and when a duplicate of the character displays on the screen, and needs to move forward with the same right arrow click, it automatically moves forward once it displays on the screen.

Is there a way to make Storyline reset or forget that the right arrow key was pressed after the first character movement has completed?

Example:  In my attached picture, Mouse 1 moves forward with the right arrow, changes state to Hidden, then Mouse 2's state changes to normal, the user clicks the up arrow, and the Mouse 2 "jumps" up on the block, and the state changes to hidden, and finally Mouse 3's state changes to normal, and the user is supposed to click the right arrow to move over the 2nd coin.  When Mouse 2 appears, he automatically moves over the 2nd coin as Storyline is remembering that the right arrow was clicked.

The only thing I can think of, is to place each mouse on a separate layer, which might make Storyline not remember the pressed right arrow.  I am not sure if this will work, but it is all I can think of.  I also have attached a picture Mouse 1's Trigger, in case it is helpful.

I apologize if I am not clear on the issue.  Please let me know how I can provide clarity, if it is not clear.

Thank you in advance for your help.

Greg

3 Replies
Eric Santos

Hi Greg,

Thanks for reaching out! I'm happy to help troubleshoot the project with you. 

It would be helpful to see the Storyline file to understand why the object automatically moves forward. I'd like to look at how the second character is set up. Would you be willing to share a copy of your Storyline file here or privately through a support case so we can look at it? We'll delete it when we're done! 

Greg Parks

Good morning Eric and thank you for the quick response.  I apologize for the delay in responding.  I have submitted a case and referred to you in the case notes/comments. 

Thank you for any help you can provide.  I currently have a work around of having a new slide start which resets the clicking of the arrow.  The only downside to this is there is a slight delay when jumping to that slide, but for now it works.

Have a great day.

Greg