Hi @Crafty-Jumper,
Animated tiles are on our features backlog for the Tilemap object and I guess what you’re planning to do could be a good way to do it in the meantime.
I think that you could create such a function in an extension using those expressions and two loops:
- GridColumnCount
- GridRowCount
You can even submit this function as a Community extension here.