Context Action Service TouchStart Firing From JoyStick

Hey its me.
Im trying to add mobile support to my guns, they work fine but its just that theres something bothering about it.
Whenever you move with the joystick, the gun fires and I dont want players to deal with that.

local userinputservice = game:GetService("UserInputService")
userinputservice.TouchStart:Connect(function(input,gpe)
if not input == gpe then
print:("hi")
end
end)

again the only problem is that the function fires whenever you use the joystick
this isnt the full script but this is where the problem is coming from