In Studio, Input.UserInputType from UserInputService.InputBegan is set to Enum.UserInputType.MouseButton1 when the right mouse button is released and the right-click menu shows up in studio.
I’m assuming this happens as a hacky way to set focus or something.