My studio just updated and this ain’t working any more
Are you sure you’re testing on a Touch Enabled Device? TouchTap only works on those devices.
Try this code.
local button = script.Parent.SurfaceGui.TextButton
button.MouseButton1Click:Connect(function()
print(11)
end)
Yes it’s weird. Click now works for Touch and Mouse. And TouchTap for neither
As far as I’m aware, Button.TouchTap is for mobile devices. MouseButton1Click should work on both.
I’m not sure what I’m saying right, but in my opinion TouchTap() only works in PlayerGui. I didn’t succeed in the SurfaceGui too. You can use MouseButton1Click to interact with the button in SurfaceGui.
2 Likes