Mouse cursor collision with image?

BlitzMax Forums/BlitzMax Beginners Area/Mouse cursor collision with image?

Galdy(Posted 2015) [#1]
How do you go about detecting collisions between the default mouse cursor and an image with the imagescollide function? The imagescollide examples i could find are always between user-loaded images. That would seem to just put the system cursor on top of another image is all. -Or can you replace the system cursor with your own cursor image?


Midimaster(Posted 2015) [#2]
Create an image of 1x1pixels. You need not to paint the image. You only have to use it "virtually" in the ImageCollide() function with the given coordinates of the mouse.


Galdy(Posted 2015) [#3]
Thanks. I was thinking a 1x1 pixel, but had it stuck in my head i had to draw it also.