What Should I Use Instead of ModalEnabled?

So I was going to disable the UI for mobile players in my game but I forgot exactly how to do it, so I went over to the dev hub and searched for ModalEnabled but it said it was deprecated. I never noticed this before so I searched the dev forum and couldn’t find anything that said what I should use now. Does anyone know what I should use instead?

1 Like

For anyone who finds this, I have found the best solution is here:

If anyone has any better solutions, please reply to this post.

2 Likes