Set Animation Coordinates to X/Y

\i g K byte::anim_loc word::pos_x word::pos_y

Parameter Type Range Description
anim_loc byte 0 ... 7 index of the animation control
pos_x word 0 ... display width - 1 horizontal position of the graphic
pos_y word 0 ... display height - 1 vertical position of the graphic

Allows to specify coordinates for a graphic loaded into the animation control.

Note

Response: [ACK]

Example

\igK\0\D220\D150

This example will access the animated graphic referenced in the animation control with index 0 and set its drawing coordinates to x = 220 pixels and y = 150 pixels.

See also:

Load Animated Graphics
Display Local Graphic