- Home /
Question by
Mohamed Reda · Feb 06, 2015 at 04:07 PM ·
uistretchoffscreen
Responsive UI element out of screen
Hello everyone,
I'm trying to animate a UI element ( like a Panel or Button ) that stretches ( custom anchors ) to slide from the right edge of the screen to its center.
I've realized I cannot animate the anchors because they cannot be offscreen... So the only simple way I found is animating the anchored position and setting its initial x position to about 1000 so it won't be visible in a higher resolution device ( see the gif )
Is there a way to do this properly ?
animate-anchored-position.gif
(55.7 kB)
Comment