Skip to content

findItem beta ​

Function of @v12-engine/engine

ts
export declare function findItem(entity: Entity, instanceId: number | undefined): ItemInstance | undefined;

Finds the item instance with this id in the entity's inventory; undefined when it is not there or no id is given