Can You Make Your Mouse Free to move around when you are fully zoomed in?

Quick Help? So I am making a game and I am trying to make it so when your fully zoomed in you can make your mouse move free instead of it locked in the centre and so you cant see the character. Here is an example How I want it - (VIDEO CLOSED) So if you saw if I was fully zoomed in my mouse was free to move and it doesn’t show the character. I tried some settings but it doesn’t work. Appreciate it if you could help.

(I don’t know which section to put this so I will put it here for now) (Don’t help anymore because I already got help. "Unless you want to give more tips)

Add a TextButton and Set Modal to True
Modal is a property in TextButtons
or add a LocalScript in StarterGui that Contains The following code:

local LocalPlayer = game.Players.LocalPlayer
--
local NewGui = Instance.new("ScreenGui", LocalPlayer.PlayerGui)
NewGui.Name = "NewGui"
local NewButton = Instance.new("TextButton", NewGui)
NewButton.Size = UDim2.new(0,0,0,0)
NewButton.Name = "NewButton"
NewButton.Modal = true
2 Likes

you can use the one I made in the earlier or use this one the difference is this LocalScript
works when player press [Zero] here it is:

local LocalPlayer = game.Players.LocalPlayer
--
local NewGui = Instance.new("ScreenGui", LocalPlayer.PlayerGui)
NewGui.Name = "NewGui"
local NewButton = Instance.new("TextButton", NewGui)
NewButton.Size = UDim2.new(0,0,0,0)
NewButton.Name = "NewButton"
NewButton.Modal = false
--
local UserInputService = game:GetService("UserInputService")
local Clicks = 0
--
UserInputService.InputBegan:Connect(function(input)
		if input.KeyCode == Enum.KeyCode.Zero then
			Clicks = Clicks+1
		if Clicks == 1 then
			NewButton.Modal = true
		end
		if Clicks >= 2 then
			NewButton.Modal = false
			Clicks = 0
		end
	end
end)