Item:getEntity

From Nutscript Developer Wiki
Jump to navigation Jump to search


    Item:getEntity()

This function returns the entity of the item. This means if the item exists in the world as entity, this function will return that entity. If this is nil, the item is only exists in the inventory as data not a physical form.

Arguments[edit]

none

Return Values[edit]

  • Entity

The entity that has the data of the item.

Examples[edit]

none