reposition

Category

Object/view commands

Syntax

reposition(oA,vDX,vDY);

Description

Object oA is repositioned relative to its current co-ordinates. Its new co-ordinates are X+vDX,Y+vDY where X,Y is its current position. If vDX or vDY are greater than 127, they are treated as a negative number (vDX-256 or vDY-256).

For example:

v254 = 5;

v255 = 252;

reposition(o1,v254,v255)

would reposition object 1 to X+5,Y-4.

See also

reposition.to

reposition.to.v

position

position.v

Positioning objects