User Tools

Site Tools


prpl:getmousebutton

<- PRPL reference <- Input

GetMouseButton

ArgumentsResultNotation
int bool [ int - bool ]

Description

0 = Left Mouse, 1 = Right Mouse, 2 = Middle Mouse

Examples

	i1 = GetIntFromStack(); 
	stack.Push(new Data(Input.GetMouseButton(i1) ? 1 : 0)); 
 
prpl/getmousebutton.txt · Last modified: 2018/06/14 17:21 by kajacx