(Formerly known as SetObjectPosition, which is now obsolete)
Object.SetPosition(int x, int y)
Changes the object's position to (X,Y). These co-ordinates specify the lower-left
hand corner of the object.
This command is equivalent to setting the object.X and object.Y separately, but provides a
more convenient way of doing so.
NOTE: This command cannot be used while the object is moving.
Example:
object[2].SetPosition(50, 100);
will change object's 2 position to 50,100.
See Also: Object.X, Object.Y
|