Skip to main content
sarahamy_96
Participant
November 15, 2017
Question

Drag and drop interaction - make objects disappear on reset

  • November 15, 2017
  • 2 replies
  • 228 views

Hi everyone. Could you please give your advice on this:


I'm building a drag and drop interaction where learners need to drag an object A which then disappears and an object B appears instead. I can do this bit. The problem is that when learners press 'undo' or 'reset' the drag targets get back to their original positions but objects B don't disappear. I'm not sure if I can rethink the principle of this activity or make these objects disappear somehow?

Any advice?

Thank you

    This topic has been closed for replies.

    2 replies

    Lilybiri
    Legend
    November 15, 2017

    The Reset button in the D&D slides is an embedded object with functionality. Embedded because it has no individual timeline, you can just check to have it or not. That also means that you cannot access the action performed by that button (which cannot have a name neither) from within Captivate. Maybe it is possible with JS, but cannot help you with that.

    I suspect you are using the Object action to show that object B?

    If that D&D slide is not defined as a scored slide, to be included in a quiz total, you can totally reset the D&D by re-entering the slide. Is it a scored slide?

    Community Expert
    November 15, 2017

    Hi Irina,

    on the reset button you can add the Action "Hide" (easier if the object is named in the Properties Panel)

    it also sounds like the reset button will have to perform a bunch of actions, so you can use Advanced Actions to add a bunch of actions to the same button.

    Hope that helps!

    Cheers!

    mark

    headTrix, Inc. | Adobe Certified Training & Consulting