Im going to assume drag and drop letters onto boxes.
Letter on collision with box
->box compare instance variable "filled"=0
-->letter set drag and drop to disabled
-->letter set position to box
-->box set variable "filled" to 1
This assumes letters and boxes are instances from two separate objects.
Letter frame 0 = A, 1 = B, etc