selected camera..

Blitz3D Forums/Blitz3D Programming/selected camera..

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.

You will need to check if the mouse is within the camera´s vieport coordinates:
something like:
x=MouseX()
y=MouseY()
If x>=camerax
 If y>=cameray
  If x<=camerax+camerawidth
   If y<=cameray+cameraheight
    ;Do stuff...
   Endif
  Endif
 Endif
Endif