Skip to main content

InventoryGetItemProperty

Callable


  • Returns the value of a given property of an appearance item, prioritizes the Property object.


    Parameters

    • Item: Item

      The appearance item to scan

    • PropertyName: Name

      The property name to get.

    • optionalCheckGroup: boolean = false

      Whether or not to fall back to the item's group if the property is not found on Property or Asset.

    Returns ItemProperties & Asset & AssetGroup[Name]

    • The value of the requested property for the given item. Returns either undefined, an empty array or object if the property or the item itself does not exist.