Roblox MouseButton1Click does not fire when pressing on Mobile

I’ve made alot of mobile guis, and mobile controls, and this is what I’ve noticed.
This is how I think whats happening:

Player taps button>MouseEnter Fires first>MouseButton1Click fires immediately after

Just use button.Activated, it works on all devices.

I am not sure this is correct. I did a quick test and this was the results.

17:45:12.437 Down - Client - LocalScript:25
17:45:12.438 Enter - Client - LocalScript:14
17:45:14.054 Up - Client - LocalScript:55
17:45:14.054 Click - Client - LocalScript:30
17:45:14.054 Left - Client - LocalScript:42

Not to say that it can’t happen that way but it most definitely isn’t 100%. I still feel it concerns the issue I mentioned earlier.

1 Like

Try changing the Zindex of the button. Click the blue to learn more.

1 Like

It works on PC, but not on mobile. That is the problem

I used that already, but it didn’t work either.

Adjusting the zIndex of the button will work. Trust me.

1 Like

I did that, it didn’t work. Do you find any other solution possible?

Is there anything overlapping the UI like one of these examples?

Sorry for very late respond! I have already got to fix this problem, it just randomly worked.
Thank you for trying to help. :pray:
Your solution is a possible solution to the problem, then I will tick it as a solution so it can help others.

1 Like