Skip to main content

Swap

Swap operator makes controls swap their positions.

a <-> b

e.g. following code swaps position of control d1 and d2

title: 'swap controls'
dot id: d1 at: [-3,-1] radius: 35
dot id: d2 at: [2,-1] radius: 35
step: 'swap control d1 and d2'
d1 <-> d2