Right Mouse Button Down?

This question may sound trivial but I can’t seem to find how I can detect the right mouse button down? All buttons respond to following code but how can I tell if the right mouse is down?

void mouseDown (const MouseEvent& e) { ect.. }

if (e.mods.isRightButtonDown())
{
    // your code here
}
1 Like