Button mouse over detection, how?

BlitzPlus Forums/BlitzPlus Programming/Button mouse over detection, how?

If MouseX() >= playerleftborder and MouseX<> <= playerrightborder
    If MouseY() >= playerupperborder and MouseY<> <= playerbottomborder
; mouse is on player
  
EndIf
  
EndIf


something like this, haven't tested, just woke up, prolly full of bugs orso :P