PosX =  button .position .x .get  (  ObjectID  )  
                                     
Description :

This instruction returns the horizontal position of a button.

Parameters :

  • ObjectID of the button.

Return Value :

  • X component of the button's top left pixel position.

Examples :