0
Beantwortet

Intersection problem

Clint Sutton vor 11 Jahren aktualisiert von Ezra Weinstein (Administrator) vor 11 Jahren 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

Antwort

Antwort
Beantwortet
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.
Beantwortet
This bug will be fix in the next version of IB3.
Beantwortet
This bug will be fix in the next version of IB3.
Beantwortet
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.
Antwort
Beantwortet
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.