With two monitor, no cursor on the main one

You could add an object on the main screen that has the mouse location as it’s position.

I do this with my Mouse Tracking demo because I’m hiding the real mouse position.

For touchscreens you need to use the contains method instead of clicks to get a response to the first touch. If the coordinates have changed then on a touchscreen it must be a new touch. My Emotional Stroop for mobile demo uses this.