Just when I thought I was getting closer…
User can click on any object and a selected indicator will appear on that object (working)
User can then drag the selected object to a new position, even if two objects overlap.
Types of overlap:
- one object is partly or fully within the rectangle area of another object, but not in a collision state
- two objects are in a collision state and the click occurs where the two objects overlap.
The .zip located at the URL below contains an example of 3 objects - orange square, blue U, green Z
- square and U are examples of overlap type 1
- U and Z are examples of overlap type 2
I tried using the disable behavior on draggable, but when it is re-enabled, it takes a second click before the object responds to the drag - not acceptable.
Any assistance would be greatly appreciated.