Moving Objects with Arrow Keys

Sep 23, 2019

Hi all!

I'm currently making a quiz where learners have to put words into different buckets depending on how difficult they are. For 508/accessibility reasons, I want them to be able to use the arrow keys to move the content from point A to point B. Any ideas on how to make this possible?

Thanks!

12 Replies
Matt Quiban

Hi Manhattan Strategy,

That is certainly doable in Storyline, you just need to set a trigger to move your object/word:

Move <object> on <Line Motion Path> when the user presses the <arrow> key

if you want to learn more you can check out this article:

https://articulate.com/support/article/creating-interactivity-with-triggered-motion-path-animations-sl2?_ga=2.12971445.382818871.1569162582-1028307687.1568221379

 

Matt Quiban

Hi Manhattan,

From what I can see, you did nothing wrong. Have you setup the motion path of the object correctly?

I suggest you redo your triggers by following the video tutorial in the article I mentioned above. Start watching the video from the 07:27 mark. The presenter does a good job of explaining how to do motion paths on objects when a user clicks a button on the screen, you can just change that to when a user presses an arrow key.

Manhattan Strategy

Hi Matthew,

Found the problem! For some reason, if it's a slide trigger it works, but when it's a trigger for the object, it doesn't work. New problem though - when I move the object into the triggered area using the keys, it does not register as having been "dropped" there, so I get a message saying that I need to complete the question before I can proceed. Any thoughts on that?

Thanks in advance.

Matt Quiban

Hi Manhattan,

Glad you can move your object using the keys now.

Now, when you say "triggered area," is there another object that you placed in that area? You can setup your slide such that when two objects intersect with each other, it will trigger an event such as jumping to the next slide, or enabling the next slide button.

Leslie McKerchie

Hi Manhattan,

It looks like Matthew is providing a lot of assistance to you here and I'd be happy to help as well.

With your permission, I'd like to take a look at your project file to investigate what's happening and to better understand what you're running into. You can share it publicly here, or send it to me privately by uploading it here. I'll delete it when I'm done troubleshooting.

Teresa Vanderpost

Hi Leslie, I was wondering if you had any luck with troubleshooting this issue.  I was wanting to do something like this as well, and popped in to see if anyone has done it.  Would you be able to share the solution if you figured it out, so that the object reads as "dropped" so the submit button works?  Thanks Teresa

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