If container is empty

cfiggis
06 Jan 2020, 20:18

Is there a simple way to set up an If/Then case where I can check if a container is empty?


Io
06 Jan 2020, 20:29

The following should work:

if(ListCount(GetDirectChildren(WhateverTheContainersNameis))=0){
//Container is empty
}
else{
//Container is not empty
}

cfiggis
06 Jan 2020, 23:44

Perfect, thanks!


cfiggis
06 Jan 2020, 23:54

Edit: ignore this reply. All good.