Looping through visible tile elements


Is it possible to loop through the entities of the visible tile in a tileset and log their ids for example?


After a little searching i think the event

tileset.tileVisible.addEventListener(function(tile) {...});

can be used but this triggers not stop even when the camera view is static...
I cannot find any example