Tablet / mobile phone : detect position

Hello,

Is it possible in an interface to detect in which  position  any component is ?  It's required to UX mobile, the idea is when user clic a button the interface take the button position like initial position for others components...

Thank you

  Discussion posts and replies are publicly visible