mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
18 lines
289 B
Plaintext
18 lines
289 B
Plaintext
---
|
|
title: invBusy
|
|
---
|
|
|
|
Returns whether the player's inventory is currently running an action (i.e. using an item)
|
|
|
|
* invBusy: `boolean`
|
|
|
|
```lua
|
|
local isInventoryBusy = LocalPlayer.state.invBusy
|
|
|
|
if isInventoryBusy then
|
|
-- Do stuff when busy
|
|
else
|
|
-- Do stuff when not busy
|
|
end
|
|
```
|