right mouse button bug?

Blitz3D Forums/Blitz3D Programming/right mouse button bug?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

MouseDown() determines whether a button is currently held down.

MouseHit() tells if a button has been pressed since the previous call to MouseHit().

Experiment with this, also trying MouseDown.
Graphics 640, 480, 0, 2

While Not KeyDown(1)  ; Escape quits

	Write MouseHit(2)
	Delay 50          ; so we have time to see what is happening
	
	n = n + 1
	If n = 75
		Print
		n = 0
	End If
		
Wend

End