User Tools

Site Tools


prpl:getmousebutton

This is an old revision of the document!


<- 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.1529011284.txt.gz · Last modified: 2025/02/14 14:56 (external edit)