To refer to an object that is not the script's currently selected object, use the dot notation. It works with scripts and predefined object functions and properties.


// Set Ego's position to Fred's x-position
//   and Bob's y-position
BOB:
Ego.setPosition(Fred.positionX, positionY);
See Also...