<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#image_commands|Image Commands]] ===== SetImagePosition ===== ^Arguments^Result^Notation^ |A unit UID, image slot, X, Y, Z coordinates| |''i1 s1 f1 f2 f3 -- ''| === Description === Sets 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. For more information on how the Z value works, as well as a list of some of the layers the game uses to render items, see [[crpl:docs:setimagepositionz|SetImagePositionZ]]. === Examples === # Set the location of "FlyingThing" to 10,10 # (to the right and above the center of the unit). # Move the image slightly closer to the camera # (-0.01 on the z axis) so it appears in front of the # main image. Self "FlyingThing" 10 10 -0.01 SetImagePosition