User Tools

Site Tools


prpl:getmousescreenpixelposition

<- PRPL reference <- Input

GetMouseScreenPixelPosition

ArgumentsResultNotation
float float [ - float float ]

Description

Returns the position of the mouse on the screen in pixels (real pixels on the monitor), relative to the game window (left-bottom corner is 0,0). Even though the result is always a whole number, the result type is float.

Examples

	stack.Push(new Data(Input.mousePosition.x)); 
	stack.Push(new Data(Input.mousePosition.y)); 
 
prpl/getmousescreenpixelposition.txt · Last modified: 2018/06/14 17:32 by kajacx