Documentation

InputPointer

InputPointer(axis,player)

Returns Pointer value for Player.

Argument 'axis':0 for x axis, 1 for y axis.

Argument 'player':0 for current player otherwise the selected player.

Value the current value of axis of mouse or touchscreen.

Example Code

	if ( InputButton(0,0) == 1 )
		ShootAt(InputPointer(0,0), InputPointer(1,0));
	

Comments

Comming Soon