Hi guys, looking for a way to check for a click of the left mouse button and the right mouse button at the same time. How would I go about doing this?
if (Greenfoot.mouseClicked(null))
{
int btnNum = Greenfoot.getMouseInfo().getButton();
if (btnNum == 1) // left button
{
;
}
else if (butNum == 3) // right button
{
;
}
}