Mobile Inputs not being detected

I have been trying to add mobile support into my game. On PC when you click on a slot it equips it using uielement.InputBegan(bla bla bla)

There is a Enum.UserInputType.Touch but that doesnt seem to work at all on mobile. Currently this is what I tried on the Frame:

v.TouchTap:Connect(function()
	print("HEYYYYY")
end)

That doesn’t work, neither does this:

v.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch then
		print("HEEEEEEEELLLLLOOOOOOOOOOO")
	end
end)

Has anyone else had a problem with this??? I’ve made sure all of my frames are Active and Selectable

1 Like

Interestingly enough, maybe try MouseButton1Click. I know that sounds crazy, but hear me out:

I’ve been working on a small project for Halloween, and I made a UI system that ONLY has MouseButton1Click events. Out of pure boredom, I joined it on my phone to discover that the buttons worked? I was confused, but if it works, it works I guess. Maybe try that, and if it doesn’t, then I don’t know.

1 Like

So ur problem is that mobile players cannot equip a slot? Just to clarify, the functions u shown in your topic doesn’t print?