Please enable JavaScript to view this site.

ESL Documentation

The move by and move to statements move the graphics and text cursors from their current positions to a new position, without drawing anything. The text cursor is moved to the same position as the graphics cursor, even if the two cursors were initially at different positions.

 

The move by statement moves the graphics cursor from its current position to a new relative position specified by integer values representing the X and Y coordinates in the coordinate system of the object. For example, if the graphics cursor is at position 200 100 and you specify:

 

move 20 40

 

ESL moves the graphics cursor 20 positions to the right and 40 positions up, to position 220 140. ESL then moves the text cursor to this position.

 

The move to statement moves both cursors from their current positions to a new absolute position specified by integer values representing the X and Y coordinates in the coordinate system of the object. For example, if you specify:

 

move to 50 100

 

ESL moves the graphics and text cursors to coordinate position 50 100.

 

You can specify any integer value for the cursor position; for example:

 

# Width and Height are integer variables:

move Width Height

or:

# xposition and yposition are built-in functions 

move to (xposition of A) (yposition of BlueKey)