Solved

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

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)

Solutions (2)

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.

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?)

Discussion (4)

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?)

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.

I was hoping the get this working in Cenario. Is it possible to custom code that in CenarioVR?

I was hoping the get this working in Cenario. Is it possible to custom code that in CenarioVR?

CenarioVR already supports drag and drop.

See:

https://rockstars.elearningbrothers.com/discussion/453045/new-feature-drag-drop-and-spin-objects-in-cenariovr