Object Inquiry Built-in Functions
Return the origin coordinates of an object.
{xposition|yposition} [of OBJECT_NAME]
OBJECT_NAME
The identifier for an object.
Description
The values returned are the X and Y coordinates of the origin of the specified object, and are expressed in the coordinates of the object's parent. For regions, these are the coordinates of the object's viewport.
If you do not include the object identifier, the value returned is the X position and the Y position of the current object.
Example
response to MoveZoomLeft_GR
if ((xposition of Zoom_GR) > StepSize_IV) then
change Zoom_GR position by (-StepSize_IV) 0
end if