Is there a plan for drag-to interactive objects to accept different drag objects w unique messages?

kris_ctmr
kris_ctmr Unconfirmed, Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 2 ☆ Roadie ☆
trying to "build" objects by having a specific drag and drop objects unhide a new object based upon whatever object is dragged onto it (in any order)

Best Answers

  • carlfink
    carlfink Community Member Posts: 842 ☆ Superstar ☆
    Accepted Answer
    At least as of v19, you'd have to code that yourself using JavaScript. Lectora does not recognize "Drop" actions. (Note to ELB: maybe it should?)
  • johnb
    johnb Community Member, Rockstar Manager Posts: 52 ☆ Superstar ☆
    Accepted Answer
    And yes!

    You absolutely can trigger different events depending on which drag object is dropped on a drop zone. You do this by checking the conditions, either on the drop zone or the drag object, depending on your use case. For the drop zone, you would use an action on the "On Drop" trigger with the condition "Contains" and trigger an action only if the drop zone contains the drag item you are interested in.

    If you prefer to check the action on the drag object, you would use an action on the "On Drop" trigger with the condition "Is Drop Target" and trigger an action only if the drop zone is that drop target.

Answers

Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!