Is mouse over canvas???

BlitzPlus Forums/BlitzPlus Programming/Is mouse over canvas???

Try RectsOverlap() to see if the the mouse is over the canvas.

If RectsOverlap(MouseX(canvas),MouseY(canvas),1,1,canvasx,canvasy,canvasw,canvash) Then
   Notify "YAY!!!"
End if