Button presses are detected with the GUI.Activated event which works on both PC and Mobile.
However, on mobile if a user places their finger on top of a button, scrolls the frame with their finger still on the button and then releases their finger, the GUI.Activated event is fired.
How can I only detect buttons being pressed when the user clicks it - not by scrolling with their finger on it?
I’ve tried MouseButton1Click and had the same results.
Because it’s automatically set to active meaning the event shouldn’t be fired because it’s flagged as always activated. While if you have it disabled, then it’s waiting to be activated.
Because the scrolling frame was overtaking the button. It’s priority based on ZIndex (I think), is what was dominating it, as well as it being the parent of the button.