Is the mouse on a line?

BlitzPlus Forums/BlitzPlus Programming/Is the mouse on a line?

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.

I think you can do the following:

If mousex() <= x2 and mousex() => x1 and mousey() <= y2 and mousey() => y1 then

I'm not home, so I can't test it, but I think it works.

Let me know, otherwise I'll find out when I get home.