Clone
Clone operator makes control copy.
a *-> b
e.g. following code clones control d1 into d2, then d2 change title and color and finally move new control by +[3,0]
- DABL
- HTML
title: 'clone control'
dot id: d1 at: [-3,-1] radius: 35
step: duration: 500ms
d1 *-> d2,d2 <- 'd2*' color: blue
d2 -> +[3,0]
<dot-and-box
controls
style="height: 250px"
code="
title: 'clone control'
dot id: d1 at: [-3,-1] radius: 35
step: duration: 500ms
d1 *-> d2, d2 <- 'd2*' color: blue
d2 -> +[3,0]"
>
</dot-and-box>