Drag and drop - number correct variable

Jul 17, 2013

Hi,

I'm trying to give feedback on my drag and drop 'try again' feedback layer to tell the learner how many draggables they got right. Is it possible to access this variable?

If I can't do that then the client wants me to highlight the right ones, but I think that's probably not possible.

Can anyone confirm?

Thanks.

Julian

8 Replies
Rebecca Fleisch Cordeiro

Hi Julian,

I've put together a bare-bones story that I think does the first thing you asked: 'give feedback on my drag and drop 'try again' feedback layer to tell the learner how many draggables they got right."

Please play around with it and see if you can "break it." That is, drag things in a variety of ways to be sure it always counts correctly.

  • There are 2 targets and 4 draggable items.
  • 2 items belong in each target, as you'll see when you open it.
  • Targets are set to "tile."
  • Each draggable shape has a Drop Correct state.
  • The Learner gets 3 attempts.
  • There is a count variable.
  • Trigger on the base layer adds 1 to the count when ANY of the draggable items has a drop correct state.
  • Trigger on the try again layer sets the count back to 0 when Learner clicks try again.

Because you didn't ask about a reset, I'm assuming you're OK with Learners simply "re-dragging" items while they're on the Try again layer.

Please shout out with questions and/or if this isn't working right!

Rebecca Fleisch Cordeiro

Hi Julian,

I took quite a while pondering this and ultimately figured out that the custom submit button isn't working properly. To test it out, turn on the default submit button and you'll see that everything works.

I went back and added a custom submit button to my story to see what would happen. It also is NOT functioning properly.

1st try: I placed 2 blue square correctly and 1 red square correctly. The count was 0 correct.

Try again: I placed the final pink square correctly, and I was given the correct prompt.

So it knows what's being dropped correctly, but for some reason with the custom button the count isn't working.

So, I played around a while longer, and I did come up with a work around I think. It involves more triggers but it does the trick.

Change the way the count is working. I've done 3 of yours...you should be able to do the rest

So, here's how it works:

I've added a trigger to BIG PICTURE THINKING,

that adds a count of 1

when:object dropped on

object: BIT PICTURE THINKING

dropped on: Early

Same triggers added for CONCRETE THINKING, PREOCCUPIED WITH..., except replace the object with the correct one

Do the same for the objects that should be dropped on the Mid Adolescence and Late Adolescence Targets.

And let us know how it goes!

Oh, I also had placed the standard submit button on the slide while I was testing. You can just uncheck that ... forgot, sorry!

sebastjan f

hi,

is there a solution to fix the following bug/feature?

If a user drags BIG PICTURE THINKING and drops it on the EARLY ... it works fine 1 is added to the count (making count = 1)

- however -

if a user drags BIG PICTURE off and then drags it back on EARLY - then count adds another 1 (equaling it to 2)..

If a student does this enough times - he gets all the points while drag dropping only one correct answer. Any solution to that?

thanks

s.

Rebecca Fleisch Cordeiro

Hi Sebastian,

Well, that CAN be done, and it's a good question. I haven't looked at this in quite some time, so I'm not sure that in the end, the whole thing shouldn't be redesigned. But going with what's been done, it would involve a lot of triggers. So what I"ve uploaded is a pared down version of the original slide (to save time on my end).

There are still 3 targets: Early, Mid, Late, but only 4 draggable items: Concrete, Big picture, Thinking More Abstract, and Established Abstract Thinking.

To your point: if you drag any of these outside their correct target and drag them back on, the count keeps going up. So,

BASE LAYER

First, I created a transparent rectangle under the original target areas. I named it transparent, and I left the outline just so it's easier to see. That's for if users drag the items "back" to where they came from.

Next, I created 4 more triggers, T/F, default False, names are Concrete, Big, TMA, and EAT.

There are now 4 triggers for each of the draggable items and trigger order is important. Here's an example for the Big...drag item

  • Add 1 to Count (variable) when user drags Big...onto the Early target if Big (variable) = False
  • Set Big (variable) = True when user drags Big...onto the Early target
  • Subtract 1 from Count (variable) when user drags Big...onto the Transparent rectangle OR the Mid target OR the Late target if Big (variable)= True
  • Set Big (variable) = False when user drags Big...onto the Transparent rectangle or the Mid target or the Late target.

Triggers are also set up for Concrete, Est. abstract thinking, and Thinking more abstract

I've place references to all variables at the top of the slide in order to see what's happening as things are dragged.

AND, since the question has more than 1 attempt, on the Try Again layer, in addition to the existing variable that changes count to 0 when user clicks try again, 5 additional triggers have been added

  • Each of the T/F variables must be set to false: for example Set big = false when the user clicks the Try Again button
  • and there's a trigger to Jump to the base layer when the Learner clicks the Try again button

(Base layer properties = Reset to initial state)

I think I've written it up correctly and I think it's working correctly!

Please shout out with any questions and hopefully someone will jump in. I may not be able to check into the forums for several days.

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