Canvas and Mouse

BlitzPlus Forums/BlitzPlus Programming/Canvas and Mouse

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Are you intially using one canvas for everything? If so, then you just check a rectangular region around your image and see if the mouse position is inside or outside of that region.

Or... do you have a seperate canvas for this image you want to pick colors from? If so, using the pseudo method I shown above should work for you.

You said you had to create a second canvas as a background? Did you use a second canvas for your image to pick color from before I replied the first time?