User Tools

Site Tools


crpl:docs:getimageposition

This is an old revision of the document!


~~DISCUSSION~~ <- 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
crpl/docs/getimageposition.1358532669.txt.gz · Last modified: 2025/02/14 14:56 (external edit)