User Tools

Site Tools


crpl:docs:getimageposition

<- 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.txt · Last modified: 2021/02/05 11:43 by Karsten75