Opens the player menu.
The player viewing the UI.
A promise that resolves to 0 once the player menu has been closed.
0
If sourceEntity is not an instance of the Player class or an instance of the executeCommandPlayerW class with a Player linked to it.
Opens the player menu.