Skip to main content
Participant
July 24, 2019
Question

Drag and Drop Error

  • July 24, 2019
  • 1 reply
  • 660 views

Hey everyone,

Here's a challenge for anyone who enjoys unraveling tangled Xmas tree lights.

This question has two parts.

The first is that I have created a drag and drop interaction and checked the box "include in quiz". However, the score slide is showing that it has not been completed and thus I am only getting 10 of 20 points (10 points from a second MC question) Any suggestions on how to fix this?

The next issue is more complicated:

I have created a World Travel themed interaction where the user learns about different countries by using a drag and drop scenario. When the user drops a passport stamp onto the drop target (same target for all 4; but with 4 different states) they are given more information about the topic. The idea is that once they have completed all 4 actions they are taken to the next slide for a new activity. And here's where the problem begins...

I have created a variable to act as a counter and set up my Advanced Action as follows:

If Variable "passport" is equal to 4

Then Go to Next Slide

Else:

Change the state of (image) to 'Belize'

Increment Passport by 1

I created 4 separate actions for each of the countries (Belize, Saudi Arabia, France, and Mexico) and set it up to execute an advanced action after each object is dropped onto the drop target. The variable counter is showing that for each drop action the "score" increases by 1. So far, so good.

However, when I preview the project it requires that I do 5 drops before it advances to the next slide.

I have triple checked everything and can't seem to find where that extra drop is coming from.

Thanks in advance.

Ken

This topic has been closed for replies.

1 reply

Stagprime2687219
Legend
July 25, 2019

Hmm... I will offer a couple thoughts. Hopefully they are helpful.

Problem 1 - How are the points being assigned? Sounds like two questions at 10 points each. I would want to take a look at those. Maybe we accidentally assigned points to the wrong answer or something like that...? For me, this one would require a bit more information about setup and such. Double check all the drop success actions.

Problem 2 - Sometimes - order of operation matters.

In this case it looks like you only increment in the else statement when variable equals 4 is false.

What that means is that the if statement looking at the variable is already passed over. It will not check again until it is triggered by placement of another stamp

Lilybiri
Legend
July 25, 2019

The advanced action is used as object action?  I wouldn't have used a counter, but there is a logical bug. You need to increment the counter before checking its value. Which means you need two decisions: the first one not being conditional, incrementing counter, and the second to check its value.

To obtain the score those actions should not be needed. Can you check the Advanced Interaction panel to see if the scores are connected with the right scored objects?

BTW I got this same question twice in my mailbox, from two different ID's. Is that possible?

kuhdeAuthor
Participant
July 25, 2019

Thanks for the reply.

Here are some screen shots of what I currently have going on:

If I understand your solution correctly I should delete the conditional statement and set my Object Actions for the drop items to execute the advanced action of only changing the state and increment the variable.

(currently the advanced actions on this slide are set to the Advanced Actions shown above with the If statement set to Equal to 4))

Do I create an advanced action that says IF Around_the_World is equal to 4

Then Go to Next Slide? and should this AA be tied to the Passport Drop Target or On Enter for the main slide?

Again, thanks for the feedback.