local O=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local c=require("\064\115\104\097\114\101\100\047\102\114\097\109\101")local M=require("\064\115\104\097\114\101\100\047\119\111\114\108\100")local y=require("\064\115\104\097\114\101\100\047\099\111\109\112\111\110\101\110\116\115")return c.on("\105\110\112\117\116",function()O.MouseBehavior=Enum.MouseBehavior.Default for c in(M:query(y.SimulatedRig)):iter()do O.MouseBehavior=Enum.MouseBehavior.LockCenter end end)
local UserInputService = game:GetService("UserInputService")

local frame = require("@shared/frame")
local world = require("@shared/world")
local components = require("@shared/components")

return frame.on("input", function()
	UserInputService.MouseBehavior = Enum.MouseBehavior.Default

	for _ in world:query(components.SimulatedRig):iter() do
		UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter
	end
end)
