How to change collide <Side> for tiles with a specific index?

I need to handle collisions for tiles only from the sides I specified. I see that tiles have collideLeft, collideUp and so on. But how can I change the values of these properties not on a single tile, but on all tiles with specific indexes? Thanks in advance for your help.

I think you would have to search all the tiles and then modify them.

Thanks. I tried as you advised and it helped. I did not find any other way, except to sort through all the tiles in the loops.

You could do this via processCallback if you prefer. It receives the tile.