Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do I disable inputs in portrait mode?

Asked by 6 years ago

I'm trying to develop a mobile game where the primary interface is GuiButtons and it operates in portait mode. As such, I need to remove the Move and jump buttons from the interface.

I attempted so using this in a LocalScript in ReplicatedFirst

game:GetService('UserInputService').ModalEnabled = true

However, nothing happened. Is this a bug?

0
Oddly enough, it did remove the inputs when I put a breakpoint at this line and resumed the code randomsmileyface 375 — 6y
0
I don't believe that Apple nor Roblox support portrait mode in the app itself. You may be able to do it in computer mode, but I do not think that you can make the Roblox app into portrait. There is code to remove GUI options but the Joystick and jump button are excluded from that. TH669 0 — 6y

1 answer

Log in to vote
0
Answered by
TH669 0
6 years ago

I don't believe that Apple nor Roblox support portrait mode in the app itself. You may be able to do it in computer mode, but I do not think that you can make the Roblox app into portrait. There is code to remove GUI options but the Joystick and jump button are excluded from that.

Again, Roblox may change this in the future (I remember reading a Roblox blog article about them developing this) but for now, this is not possible.

0
(UPDATE) Roblox has now released portrait mode on some games. TH669 0 — 6y
Ad

Answer this question