add hud.is_paused and hud.is_inventory_open

This commit is contained in:
MihailRis
2024-07-10 10:12:07 +03:00
parent 7487c55e0c
commit adabe781c5
4 changed files with 37 additions and 0 deletions
+12
View File
@@ -571,6 +571,18 @@ hud.resume()
Closes the pause menu.
```python
hud.is_paused() -> bool
```
Returns true if pause menu is open.
```python
hud.is_inventory_open() -> bool
```
Returns true if inventory is open or overlay is shown.
### *time* library
```python