How to change element position?

Hi,

I would like to change position of my elements (i.e. text or buttons) on the app screen, based on some triggered event (i.e. swap button push). It this possible? I do not know how to access those properties…

thanks

j