04-19-2025 03:59 AM - edited 04-19-2025 02:23 PM
Is there any way to unfocus a Custom UI using a script so the player does not have to do it themselves? I have a series of UI interactions and after they are over, I want to return the player to the main environment.
Solved! Go to Solution.
04-19-2025 11:52 PM - edited 04-19-2025 11:54 PM
I got a response to this question on the Discord server and verified it works. And it is easy.
There is a player.unfocusUI() function.
So in my UI code I do something like:
04-19-2025 11:52 PM - edited 04-19-2025 11:54 PM
I got a response to this question on the Discord server and verified it works. And it is easy.
There is a player.unfocusUI() function.
So in my UI code I do something like: