Basically, my script is to print me in output when mouse position moved for X Y or Z but the problem is that this doesn't work. Can someone help me out, please?
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local camerapart = game.Workspace.CameraPart
local X = mouse.X
local Y = mouse.Y
local Z = mouse.Z
if mouse.Position(X+1,Y,Z) then
print("Mouse moved X+10")
end
if mouse.Position(X-1,Y,Z) then
print("Mouse moved X-10")
end
if mouse.Position(X,Y,Z+1) then
print("Mouse moved Z+10")
end
if mouse.Position(X,Y,Z-1) then
print("Mouse moved Z-10")
end
if mouse.Position(X,Y+1,Z) then
print("Mouse moved Y+10")
end
if mouse.Position(X,Y-1,Z) then
print("Mouse moved Y-10")
end
The problem is not that it gives me an error. Problem is that it doesn't print it.

2 comments
you're trying to call Position like a function and mouse doesn't have a property called "Position" at all. Can you better explain what you think that's supposed to mean?
Nevermind now. I used top-down camera and tryied to move it if my mouse moves to the corner of screen. I think thats too much so I made WASD to move camera.