You don't need an object to move your camera - and arrays are unlikely to be the problem.
Here's a simple template I often use when starting a new project. Move the camera back and forth with the up/down keys or turn the camera using the mouse. The only reason for the object (a cube) is so the camera has something to look at.
` standard 3D template for camera controls and display
set display mode desktop width(), desktop height(), 32
sync on: sync rate 60: sync
autocam off
position camera 0, 50, -300
point camera 0, 0, 0
make object cube 1, 50
global cx#
global cy#
cx# = camera angle x()
cy# = camera angle y()
repeat
text 20, 20, "cam X angle = "+str$(camera angle x(),2)
text 20, 40, "cam Y angle = "+str$(camera angle y(),2)
positionCamera()
sync
until spacekey()
end
function positionCamera()
control camera using arrowkeys 0, 1, 0
cx# = cx# + mousemovey(): cy# = cy# + mousemovex()
rotate camera cx#, cy#, 0
endfunction