User Tools

Site Tools


crpl:docs:getimagepositionz

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