I think we can do `if (tileAnimation)` since it will either be null or an object.