Button.GetPos

table Button.GetPos ( 

string ObjectName )

Example 1

Mustard = Button.GetPos("Mustard Valve");

Gets the current X, Y coordinates of the "Mustard Valve" button object and stores the results in a table called "Mustard." These values can be accessed by referencing Mustard.X and Mustard.Y.

See also:  Related Actions