Finding the mouse positions would be a lot easier if you were using sprites instead.
Assuming that the height of the camera does not change during game play, the simplest solution would be to adjust the cameras height to make the world fit the size of the screen.
Example code of how to get the distance of the camera and the world to fit the screen resolution.
Rem the World/Screen mouse positions program
sync on
Rem The object used to measure the size of the screen
make object plain 1,640,480 `The same size of the screen resolution
pitch object down 1,90
Rem the object for testing the screen/world mouse positions
make object box 2,10,0.1,10
Rem Positions and rotates the camera
rotate camera 0,90,0,0
position camera 0,0,399,0 `the distance away from the world
Rem the loop
do
MX = MouseX() : MY = MouseY() `Variables for the mouse positions
MMZ = MouseMoveZ() `Variable for the motion of mouse z
position object 2,MX-320,0,-MY+240 `Tests the position of the mouse
Rem Adjusts the distance of the camera and the world
if MMZ > 0 then move camera 0,1
if MMZ < 0 then move camera 0,-1
if upkey() = 1 then move camera 0,1
if downkey() = 1 then move camera 0,-1
Rem display the distance of the camera and the world
set cursor 0,0
print Camera position y(0)
sync
loop
Example of how to get the positions of the mouse in the world using the cameras x, and z positions.
Rem the World/Screen mouse positions program
sync on
Rem The object used to measure the size of the screen
make object plain 1,640,480 `The same size of the screen resolution
pitch object down 1,90
Rem the object for testing the screen/world mouse positions
make object box 2,10,0.1,10
Rem Positions and rotates the camera
rotate camera 0,90,0,0
position camera 0,0,399,0
Rem the loop
do
MX = MouseX() : MY = MouseY() `Variables for the mouse positions
MMZ = MouseMoveZ() `Variable for the motion of mouse z
position object 2,MX-320+Camera position x(0),0,-MY+240+Camera position z(0) `Tests the position of the mouse
rem moves the camera with the arrowkeys
if upkey() = 1 then position camera 0,camera position x(0),camera position y(0),camera position z(0)+1
if downkey() = 1 then position camera 0,camera position x(0),camera position y(0),camera position z(0)-1
if rightkey() = 1 then position camera 0,camera position x(0)+1,camera position y(0),camera position z(0)
if leftkey() = 1 then position camera 0,camera position x(0)-1,camera position y(0),camera position z(0)
sync
loop
Again, using sprites would be easier, and more importantly the program will run faster too.
I like games, and stuff.