Moving element where another element is


I want to move one circle where the other one is.

Following the documentation and forums that’s what i got but it’s not working but i don’t know what’s wrong:

    <Circle ux:Name="BottomLeftIcon" Height="50" Width="50" Fill="#0ff" Alignment="BottomLeft" Margin="10,0,0,10">

    <Circle ux:Name="BottomRightIcon" Height="50" Width="50" Fill="#f0f" Alignment="BottomRight" Margin="0,0,10,10">
            <Move RelativeTo="PositionOffset" RelativeNode="BottomLeftIcon" Duration="2"/>            


Clicked is a pulse trigger which means it only activates “briefly”. Try a WhilePressed instead. It stays active as long as you keep the pointer down

it does not work either… actually i tried also things like:

move x="-10" and it worked (for the duration time)

i expected the circle to move during the duration time and then go back to the original possition.

Ah, that’s right. Add Vector=“1” to your move

Now it works!


buuut… i was not able to find that in documentation / samples :slight_smile:

Glad to hear that that it worked :slight_smile:

I’ll see if we can make the documentation a bit clearer on this point.