OK will try this .. Is this isOverUI property in the latest version im on 3.68 but cant find it. I can update to the newer version though.
Hope this works. and if isOverUI is triggered when the the cursor is overUI it think it can work for the editor but how would it work on touch devices ?