Introduction to Learning Interactions Tutorial > Modify a Drag and Drop interaction |  |

Modify a Drag and Drop interaction

The Drag and Drop interaction lets users drag objects to targets. The component lets you specify the question and the unique names of the Drag objects and Target objects.

1 | In the Timeline, select Frame 5 on the Interactions layer.
2 | On the Stage, verify that objects on the layer are selected, and choose Modify > Break Apart. Press Control+Shift+A or click an empty space in the workspace to deselect the objects.
3 | On the Stage, select Drag1, then press Shift and also select Drag2 through 4, and Target1 through 4. Press Backspace or Delete to delete all Drag and Target objects from the Stage.
4 | Select the Drag and Drop component to the left of the Stage. If the Component Parameters Panel isn't open, launch it from the Property inspector.
5 | Select the text in the Question text box and type Drag the photo to the correct exposure setting.
6 | In the Drag Object Name and Matches Target Name categories, select and delete the Drag4 and Target4 text; your quiz will have three Drag objects and three Target objects only.
7 | In the Drag Object Name and Matches Target Name categories, type the letter N, for new, at the end of each name.
| You're registering the unique instance name that you will give to your replacement instances.
8 | To specify that Drag objects snap to a target, verify that Snap to Start is selected.