<- CRPL reference <- Image Commands

GetImagePosition

ArgumentsResultNotation
A unit UID, image slot i1 s1 – f1 f2 f3

Description

Gets the coordinates (in floating point pixel space) of the image. 0,0,0 is the exact center of the unit. Negative z values are closer to the camera.

Examples

# Get the location of "FlyingThing"
Self "FlyingThing" GetImagePosition