zaulin
1
Hi,
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:
<Panel>
<Circle ux:Name="BottomLeftIcon" Height="50" Width="50" Fill="#0ff" Alignment="BottomLeft" Margin="10,0,0,10">
</Circle>
<Circle ux:Name="BottomRightIcon" Height="50" Width="50" Fill="#f0f" Alignment="BottomRight" Margin="0,0,10,10">
<Clicked>
<Move RelativeTo="PositionOffset" RelativeNode="BottomLeftIcon" Duration="2"/>
</Clicked>
</Circle>
</Panel>
Hi!
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
zaulin
3
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
zaulin
5
Now it works!
thnx…
buuut… i was not able to find that in documentation / samples
Glad to hear that that it worked
I’ll see if we can make the documentation a bit clearer on this point.