<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#image_commands|Image Commands]] ===== GetImagePositionZ ===== ^Arguments^Result^Notation^ |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 [[crpl:docs:setimagepositionz|SetImagePositionZ]] for where each Z index will place the image. === Examples === #Get the Z location of "FlyingThing" Self "FlyingThing" GetImagePositionZ trace