Hi all!
Im using this script I clobbered together by looking at Mouse on the wiki and some stuff from here. I havent really used this before so I'm not even sure if this is really correct but I cant print Pos from here.
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Mouse = Player:GetMouse()
local Pos = Vector3.new(Mouse.Hit.Position())
print(Pos)
I'm trying to get a mouse position, then convert it so a NPC can move to it. I may just be extremely dumb. I'm newer to scripting so please go easy on me.

2 comments
By mouse position do you mean the Vector3 position of where the mouse is pointing or the Vector2 position of where it is on the screen?
I mean the position of the mouse in the 3D world