<- [[crpl:crplreference|CRPL reference]] <- [[crpl:crplreference#screen_commands|Screen Commands]] ===== SetScreenPixelCoordX ===== ^Arguments^Result^Notation^ | screen pixel X coord | |'' x1 -- ''| === Description === Only makes sense if [[crpl:docs:SetScreenMode]] has been set. Otherwise has no effect. Positions this core on the screen, where (0,0) is the lower left corner and ([[crpl:docs:ScreenWidth]],[[crpl:docs:ScreenHeight]]) is the upper right corner, but just modifies the x coordinate. See [[crpl:docs:SetScreenMode]] for details. Related to [[crpl:docs:SetScreenPixelCoords]]. === Examples === #Puts the score, writ large, just above the control panel. "SCORE: " GetScore concat SetText :awake #Stick the core to the screen TRUE SetScreenMode #Goto just above the control panel ScreenWidth 2 div SetScreenPixelCoordX 100 SetScreenPixelCoordY #Choose how the text looks 2 SetTextSize "LowerCenter" SetTextAnchor