How can I get the tossed item?
#1
Hello

If you press 'q' in the hotbar, you can get the tossed item by Player:GetEquippedItem().

How can I get the tossed item if I drop the item with my mouse outside of the inventory? Naturally Player:GetEquippedItem() == -1 in this case.

If I am correct, there is no such thing as Player::GetHeldItem().

Thanks in advance Smile
Reply
Thanks given by:
#2
It appears the current API does not support this. We should modify the API. I've opened a Github issue here.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)