Forum Discussion

RebeccaBray-e3d's avatar
RebeccaBray-e3d
Community Member
12 months ago

Right-click trigger doesn't work in hotspot quiz

I have to test learners on a right-click functionality. I have my trigger set to Submit Hotspot when the user right-clicks. However, when I test this slide the player doesn't recognize the right-click until I click on the screen. The right-click functionality works elsewhere in the course, just not for the Submit Hotspot trigger. Please help!

  • Nedim's avatar
    Nedim
    Community Member

    A "Hotspot" interaction expect you to click hotspot on the slide, to mark your answer. That's way you need to click on the screen first so the Storyline can validate whether you clicked on the hotspot or elsewhere to provide the feedback after you right click on something. If a hotspot is not required for your project you may use "Pick One" interaction. Draw a rectangle ( 99% transparent or filled), and mark it as correct in the form view. Create a trigger "Change state of Rectangle to Selected when the user right clicks Rectangle". Create another trigger to submit "Pick One": Submit Pick One when the user right clicks Rectangle. This way an interaction will be immediately submitted. You would not be able to do this in a "Hotspot" interaction because a hotspot doesn't have any state. This is just an idea. See if you can make it work in your favor. I don't know what exactly you are trying to accomplish so I can't be more helpful. 

  • Hello Rebecca!

    I'm happy to jump in here! I'm glad to see that Nedim has already offered assistance. I created the attached sample project file similar to what was already recommended, with some modifications. Here are the steps I used to create the slide:

    1. Add a shape and move it out of the slide.
    2. Convert the slide to a Pick One freeform. Assign the shape as the correct answer.
    3. Add a trigger to change the state of the shape to Selected when the timeline starts.
    4. Add a hotspot.
    5. Modify the Submit Pick One trigger to 'When the user right-clicks hotspot'

    If you want us to look at your Storyline project file, we'd be happy to offer more tailored suggestions specific to your setup. You can upload it here or privately through a support case. We'll delete it when we're done!