Get amount of Items in ItemList

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By YAGU

I have an ItemList and want to get the amount of Items inside this ItemList.

I tried “$ItemList.items.size()” but this returns wrong values (eg. “3” while i only have 1 item).

What can I do?

:bust_in_silhouette: Reply From: Wakatta

$ItemList.get_item_count()

I somehow completely overlooked that, thank you!

YAGU | 2021-04-19 15:36