You can use the DropDown.getSelection() command at any time to get the index of the currently selected item. So when an avatar is clicked with the mouse, use this command to get the item that is currently selected and then perform the appropriate action.
|