src/main/java/org/sikuli/slides/api/concurrent/ScreenRegionLatch.java
protected boolean inRange(NativeMouseEvent e){
		Rectangle r = screenRegion.getBounds();
		r.x += screenOffsetX;
		r.y += screenOffsetY;

		int x = e.getX();
		int y = e.getY();
		return r.contains(x,y);
	}
protected boolean inRange(NativeMouseEvent e){
		Rectangle r = screenRegion.getBounds();
		r.x += screenOffsetX;
		r.y += screenOffsetY;

		int x = e.getX();
		int y = e.getY();
		return r.contains(x,y);
	}
Check the mouse action is within the screen region range.
@param e native mouse event
@return true if the mouse event was within the screen region range.
Otherwise, it returns false.