I have a button in my game that has a script that runs when button.Activated is called, it works fine on PC but on mobile the animation that plays on button.Activated stays running even after I remove my finger.
(Or maybe it’s button.InputEnded that doesn’t work right )
I’d assume it’s the inputEnded. Could you add a print statement after the inputEnded and .Activated events? If both print on mobile, the issue would be with something else.
try button.MouseButton1Up or button.MouseButton1Down instead of button.Activated. i remember reading somewhere that these two events worked on mobile, as opposed to .Activated.