Skip to content

Drop

getUID

Returns the unique ID of the dropped item.

lua
drop:getUID()

getPosX

Returns the X pixel position of the dropped item.

lua
drop:getPosX()

getPosY

Returns the Y pixel position of the dropped item.

lua
drop:getPosY()

getFlags

Returns the flags of the dropped item.

lua
drop:getFlags()

getItemID

From world:getDroppedItems(), returns the dropped item ID.

lua
drop:getItemID()

getItemCount

From world:getDroppedItems(), returns the dropped item count.

lua
drop:getItemCount()

Released under the MIT License.