Currently, my game has a custom Hotbar that has click implementation so you don’t need to use a keyboard, but on mobile, it’s still unclickable.
The edge of the of the hotbar works fine, but once you get into slots 1-3, they just won’t work. I think this is because of the mobile joystick, but I’m unsure on a way to keep the joystick for movement but allow for the UI to be pressed.
I’ve tried messing with Modal and ZIndex, but none of those have worked.
There is 2 ways to fix it that I know, you can custom the joystick with a script for mobile players or move the hot bar on top for only mobile players.
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local quickbar = playerGui:WaitForChild("Quickbar")
if quickbar then
quickbar.Visible = true
quickbar.SlotCount = 5
end