<- CRPL reference <- Image Commands

GetImagePositionZ

ArgumentsResultNotation
A unit UID, image slot i1 s1 – f1

Description

Gets the Z coordinate (in floating point pixel space) of the image. 0,0,0 is the exact center of the unit. The Z coordinate is useful for determining which images appear in front of other images.

Refer to the table in SetImagePositionZ for where each Z index will place the image.

Examples

#Get the Z location of "FlyingThing"
Self "FlyingThing" GetImagePositionZ trace