Question types: Drag and drop onto image

Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Picture of Jamie PrattJamie Pratt, Picture of Phil ButcherPhil Butcher
As of Moodle 3.0, this question type is part of the standard Moodle release. That is why there is no plugin from Moodle 3.x. You don't need one!
253 sites
82 fans
Current versions available: 6

As of Moodle 3.0, this question type is part of the standard Moodle release. That is why there is no plugin from Moodle 3.x. You don't need one!

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.

Demonstration of this question type courtesy of Dot Garman.


This plugin is part of set Open University.


Screenshot #0


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


  • Tim at Lone Pine Koala Sanctuary
    Tue, Oct 28, 2014, 3:43 PM
    This option is not available. At least, not at the moment. We don't plan to implement it, but that might change.
  • Picture of Jerome Di Pietro
    Wed, Nov 26, 2014, 8:24 PM
    Is it possible to have draggable options that don't belong on the picture (i.e. 'detractors')? Ideally ones which if placed on the image would be negatively marked.

    I read through the comments and the docs, but couldn't find an answer to this. Apologies if I somehow missed it.

    Great plug-in btw. Very impressed at the accessibility (keys-only) option as this is always a big issue with these kinds of more interactive question types. Thanks for sharing.
  • Picture of Phil Butcher
    Wed, Nov 26, 2014, 10:10 PM
    You can certainly add detractors - as many draggable items as you want ( ). But the marking is that you just get no marks for that drop-zone if you use the detractor - rather than a negative mark.
  • Picture of Stasia Scani
    Sun, Nov 30, 2014, 6:42 PM
    This plugin and drag and drop markers have a bug in moodle 2.8.1 - the background image does not load on the test page
  • Tim at Lone Pine Koala Sanctuary
    Mon, Dec 1, 2014, 11:19 PM
    Which theme are you using? Both these question type works find for me in Moodle 2.8.1, using the default 'Clean' theme.
  • Picture of Matthew Lowe
    Thu, Dec 4, 2014, 7:11 AM
    Elton LaClare.

    We experienced the same issue so made recommendations for iPad as this was the only tablet that we could get Moodle drag and drop to work with.

    It may be a bit late now but have you checked out the Safari Browser for Android: ? From memory we were able to have some success with this browser on Android.

    Best of luck.
  • Tim at Lone Pine Koala Sanctuary
    Thu, Dec 4, 2014, 1:08 PM
    Making this work on Android is on our todo list. Indeed, we have had one go already, and it is better than it was, but still not good enough. Hopefully we will get time to try again soon.
  • Picture of Stasia Scani
    Thu, Dec 4, 2014, 10:14 PM
    Regarding my report - I have moodle 2.8.1 stable and tested this drag and drop with Clean, More and Elegance themes, all with same result - the background image does not appear on the page. Zones and draggable items do appear but zones not in the question area.
  • Picture of Stasia Scani
    Sat, Dec 27, 2014, 2:26 AM
    OK, I reinstalled the plugin and now everything works! I don't know if any changes were made but now it's OK.
  • Picture of Dave Perry
    Fri, Feb 27, 2015, 9:42 PM
    Is there a way, when reviewing attempts at a drag and drop question, for the review tool to highlight which answers the user got correct for that question type?
  • Picture of Phil Butcher
    Fri, Feb 27, 2015, 11:22 PM
    No there isn't and you might well ask 'why not?' And the answer comes down to trying to ensure that the feedback is accessible to all users. So we require our authors to write a full solution in the General feedback box. This might include an annotated diagram but if it does that diagram must also have alt-text associated with it - and clearly you can't put that alt-text on the diagram that is used in posing the question.
  • Picture of Curtis Barker
    Fri, Apr 24, 2015, 1:33 AM
    Any thoughts on how to make non-unique choices so that zone 1 could be either of two (or more) responses?
  • Picture of Phil Butcher
    Fri, Apr 24, 2015, 3:58 AM
    We created these drag and drop questions circa 5 years ago and I was expecting our academics to come back and say "that's great" but could we have a way of indicating that zones 1 & 2 could be filled with options A and B and it doesn't matter which way round they're filled. But such requests have been absent. Ok maybe one or two colleagues have raised the possibility, but not sufficient to warrant our investment in developing these question types further. A pity.
  • Picture of Curtis Barker
    Fri, Apr 24, 2015, 6:45 AM
    Oh well. I hadn't had a need until just today and then two different situations presented almost simultaneously. Looks like I'll a Plan B. Thanks all the same.
  • Picture of Brian Gygi
    Sat, Jul 18, 2015, 7:05 AM
    OK, I'm a new Moodle user and a real lunkhead. I just downloaded the code, but I don't know how to install it in Moodle. Is there a site or a resource that would guide me through it? Thanks so much!
Please login to post comments