hello
i making top view game. and i added right click guard but when I right click, the mouse lock
i cant disable user input service right click
hello
i making top view game. and i added right click guard but when I right click, the mouse lock
i cant disable user input service right click
Pretty sure this was a post a while ago, try looking at other posts before you create a new topic.
If it for some reason interferes with your UserInputService InputBegan
, InputEnded
, or InputChanged
connection with RMB, then in that function do:
(Using .InputBegan as example)
game.UserInputService.InputBegan:Connect(function(input, inputProcessed)
if inputProcessed == true or inputProcessed == false then
if input.UserInputType == Enum.UserInputType.MouseButton2 then
-- your code
end
end
end)