How to ignore movement joystick for mobile when shooting

Hi! I was wondering how prison life managed to make TPS (third person shooting) mobile friendly. It seems that they somehow ignore the finger doing the movement via the thumbstick and and allows shots away from it.

As you can see in the second video, the problem I’m facing is that the shots are hitting where I am moving my character, causing a conflict of where the bullets go.

Any and all help is appreciated! Thanks!

Desired behavior:


My behavior:

1 Like

I believe they’re using UserInputService and Enum.UserInputType.Touch

-- local script
local UserInput = game:getService("UserInputService")

UserInput.TouchStarted:Connect(function(input, isType)
	if not isType and input.UserInputType == Enum.UserInputType.Touch then
		-- fire remote event or something
	end
end)