0
Answered

Intersection problem

Clint Sutton 11 years ago updated by Ezra Weinstein (Administrator) 11 years ago 0
Hi guys,

I have an item on the page that I have a drag-move action on.  When your dragging the item across the screen I want it to have a move back to it's original position if it touches another object.  I tried using the intersections actions, but it wont work with a "move" action.  It works fine if I choos something like "hide" or "blink", but not move.  Is this possible to produce with intersections?

Clint

Answer

Answer
Answered
This will be fixed in version 3.4 however, if you want the item that they are dragging to move, it's not really possible because the MOVE/DRAG is essentially conflicting with the MOVE at the intersection.  I would use the DuplicateElement behavior to create a second copy of the element when the intersection occurs.  So you would duplicate the element and hide the original element.  That should be one way to handle it.
Answered
This bug will be fix in the next version of IB3.
Answered
This bug will be fix in the next version of IB3.
Answered
This will be fixed in version 3.4 however, if you want the item that they are dragging to move, it's not really possible because the MOVE/DRAG is essentially conflicting with the MOVE at the intersection.  So, I would possibly using the DUPLICATE behavior to create a second copy of the element when the intersection occurs.  So you would duplicate the element and hide the original element.  That should be one way to handle it.
Answer
Answered
This will be fixed in version 3.4 however, if you want the item that they are dragging to move, it's not really possible because the MOVE/DRAG is essentially conflicting with the MOVE at the intersection.  I would use the DuplicateElement behavior to create a second copy of the element when the intersection occurs.  So you would duplicate the element and hide the original element.  That should be one way to handle it.