public int getX() {
        return x;
    }
The X coordinate of the mouse when the event was generated.
@return X coordinate of the mouse when the event was generated.
jme3-core/src/main/java/com/jme3/input/event/MouseButtonEvent.java