First create a "Family" of "Inventories". Add all inventories in it. Then You need to have these two conditions:
Inventories.Pick top instance
It means that it will check which Sprite (among all inventories) is on TOP and select only the top most inventory only.