I am trying to see if the mouse is hovering over a certain window. I will be checking if it is hovering over that window while at the same time not hovering over another specific window (to sense overlap). For some reason it seems like isHit() never returns true for me. Am I using it incorrectly? I figured I may not be getting the correct mouse coordinates so I tried the following which should definately work:
Code: Select all
*getWindow is a function that I wrote, it works properly.