public int getButtonIndex() {
        return btnIndex;
    }
Returns the mouse button index.
<p>
See constants in {@link MouseInput}.

@return the mouse button index.
jme3-core/src/main/java/com/jme3/input/event/MouseButtonEvent.java