Grid.GetPos

table Grid.GetPos ( 

string ObjectName )

Example 1

position = Grid.GetPos("TestData");

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

See also:  Related Actions