Your Moodle version

Question types: Drag and drop markers

Maintained by Tim at Lone Pine Koala Sanctuary Tim Hunt, Picture of Jamie Pratt Jamie Pratt, Picture of Phil Butcher Phil Butcher
The student can drag markers to indicate key features on an image.


This plugin is part of set Open University.

There are working examples in eAssessment with Moodle on our OpenLearn site.

The documentation is in How to create questions in Moodle on that site.




Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Picture of Jamie Pratt
Jamie Pratt: Developer
Picture of Phil Butcher
Phil Butcher: Question type designer
Picture of Colin Chambers
Colin Chambers: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Balázs Petróczi
    Sun, Jan 12, 2014, 8:33 PM
    This is an awesome plugin that opens up new levels of interactivity. At the same time as a language teacher I found some frustrating limitations that I would like to call your attention to:
    1) In language teaching most often you have a LARGER number of vocabulary items that the students should put into groups according to their stress patterns, or some semantic logic. Unfortunately, all the dragable items are always crammed into one line as you can see here where I wanted to use only 20 items: (username: student, pass: student) The excess items cover the others with the result of an intangible mass when there would be plenty of space below the background image to fold the dragable items into a second or even a third line!
    2) There is no mass input possibility to create all the draggable TEXT items in one step by inserting a text from Excel in a column in a text box (csv files, line breaks etc).
    3) When you want to associate five vocabulary items with the same category (drop zone) it would be much more practical to be able to choose all the five items for that category one by one, rather than having to re-define the same drop zone five times for each item separately!
  • Tim at Lone Pine Koala Sanctuary
    Mon, Jan 13, 2014, 2:58 AM
    I think the problem is that you are using the question type for something that is slightly different from what it was designed for. That is OK, but it explains why some things don't work perfectly.

    We plan to fix the problem with lots of markers overlapping, but I cannot promise when that will happen.

    Really, what we need is a new question type for classifying lots of things into a few categories. I wonder if someone will build that?
  • Picture of Balázs Petróczi
    Mon, Jan 13, 2014, 6:23 PM
    Thanks for answering. Moodle is widely used for language teaching, I think, so these features would be very useful for lots of people. If only the dragables folded into new rows we could
    live together with the rest.. Thank you again!
  • Picture of Phil Butcher
    Wed, Jan 22, 2014, 6:34 PM
    Comment to Austin Powell 9th Jan. That bug (numbers incrementing) looks like a bug I've just reported at the OU. Tim is onto it.
  • Tim at Lone Pine Koala Sanctuary
    Wed, Jan 22, 2014, 6:35 PM
    In fact, the fix is in github, I just have not released a new version here yet. The necssary code change is
  • Picture of Jona Turner
    Thu, Jan 23, 2014, 9:22 PM
    Hi there, loving the question types you have released!
    They seem to work very well, however, when using on a smaller screen size {mobile} (also using a responsive theme), it's not always possible to drag the markers to the correct areas. I don't really know much about this kind of thing, however could it be that if the image sizes and drop zones were based on percentages rather than pixels, it could work on small screen sizes?

    Is this / something similar, something that is being worked on? Or is there a work around?

    Many thanks
  • Tim at Lone Pine Koala Sanctuary
    Thu, Jan 23, 2014, 11:32 PM
    We had this discussion, and over-simplify hugely, we said: some tasks require being able to see a lot at once. The only sensible option for students is to to these tasks on a desktop/laptop/tablet. It just does not make sense to spend a lot of time making the technolgoy cope with mobile-sized screens, that is jsut not a sensible device for the task.

    For other quizzes, of course, the option to do them on a mobile is a very good thing.
  • Picture of llywelyn morgan
    Sat, Mar 1, 2014, 7:55 PM
    Hi. When answering a question, the markers move slightly every time a new marker is placed. After placing a few markers, previously placed (and marked correctly) markers have been displaced (and marked as incorrect). Any suggestions why this is happening? Cheers
  • Tim at Lone Pine Koala Sanctuary
    Sun, Mar 2, 2014, 1:02 AM
    I've never seen that happen! Therefore, I don't know why it is happening for you.
  • Picture of Phil Butcher
    Mon, Mar 3, 2014, 10:28 PM
    I have seen it - on OpenLearn before Christmas; note not on the main OU VLE so I thought it was something Openlearn had done. It was fixed by the January update to Moodle 2.5. Prior to that I think OpenLearn was on Moodle 2.3? But we never had an issue when the main VLE was on 2.3. Anyway that may provide a clue to a solution.
  • Picture of Pascale Colonna
    Thu, Mar 6, 2014, 11:32 PM
    I'd like to say that your 3 plugins are rather popular, but the drag and drop with markers has a design problem: most users think they should drop the text bubble rather than the target. And that's so even when given clear instructions! I wonder if you have heard this feedback before?
    Is there a way you could improve on the design?
  • Picture of Phil Butcher
    Mon, Mar 10, 2014, 7:26 PM
    We developed this Moodle question type based on this which is now 9 years old. We've never had an issue with the original OpenMark version - maybe because you have to click on the circle to move the marker. For Moodle we allowed the text label to also be clicked on. Maybe that was a mistake. So do we alter this question so that you have to click on the circle? Any views out there?
  • Ralf
    Wed, Apr 2, 2014, 6:43 PM
    Dear developers,

    i found a little bug in this question type.
    If you export this type of question and have a look at the xml file, you will see that the 'noofdrags' are incorrect.
    You don't get the values you entered. The value just increments with every marker. (Marker x has x no of drags)

    Best Regards
  • Tim at Lone Pine Koala Sanctuary
    Tue, Apr 29, 2014, 2:58 AM
    I just uploaded a new version that fixes the noofdrags import/export issue.
  • Picture of David Gustafson
    Fri, May 16, 2014, 10:54 PM
    This is a response to Phil's question. I do think it is confusing that users can click on the text label, though I understand why it would have sounded helpful. As Pascale said, it's so intuitive to target with what you're dragging, even after you've been told that only the circle works. We've disabled this question type because of this confusion. If it was possible to change this, I personally think it would be very helpful.
1 2 3 4
Please login to post comments