ImageRectCollide with default mouse?
Blitz3D Forums/Blitz3D Beginners Area/ImageRectCollide with default mouse?
| ||
I was wondering if and how you can use the default mouse pointer for the ImageRectCollide command? What would i put in place of "image?" ImageRectCollide (What here?, Mousex(),Mousey(),0,rect x, rect y, rect width,rect height) I know i could create a function to do this easy enough, but i want to know if i can do it with this command using the programs default pointer, |
| ||
Not too sure what you're asking but if you want to detect when the mouse is pointing on an image, you'd use: ImageRectCollide(image,image_x,image_y,image_frame, MouseX(),MouseY(),1,1) |
| ||
Ok I see. That is exactly what i'm trying to do. That answers my question perfectly. Thanks Big. :) |