Hello there,
-
I want to be able to move the mouse when camera’s type is Scriptable
-
The issue is than I can’t move my mouse to click on the button
Video.wmv (1.5 MB) -
I have literally no idea how to script this. I looked on the Developer Hub for solutions but I’ve found nothing.
Here is my script:
local part = script.Parent
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = part
part.Changed:Connect(function()
camera.CFrame = part.CFrame
end)
Thanks!