Drag the Words
The Drag the Words content type presents a text passage from which key words have been removed; the student drags each word back into its place. The AI generates the passage, extracts the draggable words, and optionally adds distractor words that fit no gap.
AI-generated configuration
| Setting | Description | Possible values | Default |
|---|---|---|---|
| Number of draggable words | How many words are extracted from the passage for the student to drag back. | At least 1; no hard cap — an exact requested amount is generated in full (e.g. 12) | Determined by the passage when no amount is requested |
| Distractors | Extra words in the tray that do not belong to any gap, to raise the difficulty. | None, or the requested amount (e.g. 2 or 3) | None |
| Retry button | Lets the student try the activity again. | Enabled | Enabled |
| Show solution button | Reveals the correct placement of every word. | Enabled | Enabled |
Generated content
- A text passage that remains readable and solvable with every extracted word removed.
- The draggable words extracted from the passage, one per gap.
- Optional distractor words that fit no gap and stay unused when the activity is solved correctly.
- Overall feedback for the activity.
Rules and behavior
- Distractors are optional: their absence is only a failure when the prompt explicitly asks for them.
- The activity scores correctly even when distractor words are left in the tray.
- The type has no upper cap on words, so a high exact amount (e.g. 12) is generated exactly, without trimming, and the passage must stay legible and solvable with all of them.
- The activity is scored, and the result integrates with the Moodle gradebook.
Example prompts
Without syllabus
A passage about basic cooking techniques where each technique name is dragged to its description, with no distractors:
I need an H5P drag-the-words activity for the Gastronomy course: a paragraph on the basic cooking techniques (boiling, sautéing, roasting, and frying) where the student drags the name of each technique to its description.
A vocabulary activity with four correct words plus trap words that fit no gap:
Prepare an H5P drag the words on vegetable cuts for the Professional Cooking course: julienne, brunoise, chiffonade, and mirepoix. Add two or three trap words that do not match any gap, to raise the difficulty.
With syllabus
A demanding passage with exactly twelve draggable words taken from a unit of the uploaded document:
Make me a really demanding H5P drag the words: a text on unit 3 of the syllabus I uploaded with twelve words from that unit to drag.