0
Answered

swap

Melissa Lind 12 years ago updated by Alin Alexandru Matei 12 years ago 1
How does the swap behavior work? I couldn't find anything in the user guide. I was assuming that it swaps the position of two different elements? But I couldn't get it to work.


Answer

Answer
Answered

Hi Melissa, this is how Swap behavior works.As target of the Swap behavior you select Self, and for the Swap Target you should specifiy the Next element which will be tapped.

Or you can select for the Target to be the element with which you want to swap the element that has the swap behavior, and for Swap Target select Self. I've attached an example on how to do this.100 - swap.zip

On the example that I've attached to this reply you have to tap the Triangle and this element will Swap with the Square element. As you can see the Triangle has Tap-Swap with Target being element1(which is the Square) and the Swap Target is element2(which is the Triangle).

Answer
Answered

Hi Melissa, this is how Swap behavior works.As target of the Swap behavior you select Self, and for the Swap Target you should specifiy the Next element which will be tapped.

Or you can select for the Target to be the element with which you want to swap the element that has the swap behavior, and for Swap Target select Self. I've attached an example on how to do this.100 - swap.zip

On the example that I've attached to this reply you have to tap the Triangle and this element will Swap with the Square element. As you can see the Triangle has Tap-Swap with Target being element1(which is the Square) and the Swap Target is element2(which is the Triangle).

Thanks!!! The example is perfect.