<App Theme="Basic">
<DockPanel>
<Rectangle ux:Name="Target" Dock="Top" Margin="10" Fill="#ffcf00" CornerRadius="10" Width="100" Height="100"/>
<StackPanel Orientation="Horizontal">
<Each Count="3">
<Rectangle ux:Name="Source" Dock="Bottom" Margin="10" Fill="#0094ff" CornerRadius="10" Width="100" Height="100">
<Clicked>
<Move Target="Target" RelativeTo="PositionOffset" RelativeNode="Source" Vector="1" Duration="0.4" DurationBack="0.4" />
<Resize Target="Target" RelativeTo="Size" RelativeNode="Source" Vector="1" Duration="0.4" DurationBack="0.4" />
</Clicked>
</Rectangle>
</Each>
</StackPanel>
</DockPanel>
</App>
@duckers say that i need to use states, but how to pass the blue rectangle position and size to the state?