Help removing mobile buttons temporarily

Hey there! I’m creating the main menu for my game, GRIEF, and iv’e stumbled upon problem which 100% needs to be fixed. The answer may be obvious, but iv’e never really messed with mobile buttons, so i don’t know much.

As you can see from the image above, the mobile buttons are getting in the way of some of the buttons, making the game look unprofessional as a whole. If anybody knows how to create a simple local script which can disable and enable the mobile buttons, that would really help.

Take care.

2 Likes

UserInputService.ModalEnabled should do the trick.

4 Likes

Hm, iv’e read the link and tried many different techniques but nothing.


Iv’e also tried repeat until and tested it out on my own phone, but it just comes up with the same result.

Any further help would be much appreciated. :grin:

1 Like

If you are disabling modal, why is it equal to true?

It has to be set to true.

The link Spooce has provided can clarify.

After sifting through a few threads, it appears that this property has become dysfunctional as a result of some changes to the default PlayerScripts. This thread offers a few promising alternatives; apologies for the dated information.

1 Like

The thread you provided worked! Thank you very much! Much appreciated! :grin: