Select Moodle version:

Question types: Drag and drop markers

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


This plugin is part of set Open University. Plugins from the set work the best when installed together.

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.




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

Comments RSS

Show comments
  • Picture of Austin Powell
    Thu, Jan 9, 2014, 10:46 PM
    We are currently using Moodle 2.5.1+ (Build: 20130712) and just updated this plugin from version 1.3 (2013070100) to the new version 1.4. After doing this on our test server, we found that when we had multiple markers in a question all set to "Number 1" after the upgrade, they all increased in numerical value until becoming infinite.
    Comparison screenshot can be found here:

    Not sure if this is a bug in the upgrade or what. Just before this upgrade we did upgrade the gapselect and ddimageortext to their latest versions also. Issue didn't appear until we upgraded the dd-marker plugin however. We will refrain from upgrading our live server (which is functioning fine on the previous versions currently) to the latest version until we know if this is a bug or some issue on our end.
  • Tim at Lone Pine Koala Sanctuary
    Thu, Jan 9, 2014, 10:52 PM
    That is odd. I don't see any changes in that might cause that. It certainly should not happen.
  • 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
1 2 3 4
Please login to post comments