# I want to make a tiled component that I can animate.

**URL:** <https://forums.unrealengine.com/t/i-want-to-make-a-tiled-component-that-i-can-animate/1182898>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine\
**Created:** [May 30, 2023, 12:30am UTC](https://forums.unrealengine.com/t/i-want-to-make-a-tiled-component-that-i-can-animate/1182898 "2023-05-30T00:30:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 30, 2023, 9:50am UTC](https://forums.unrealengine.com/t/i-want-to-make-a-tiled-component-that-i-can-animate/1182898/3 "2023-05-30T09:50:22Z")

</div>

> [@euoss](#):
>
> I have an actor with Instanced Static Mesh - but I do not see how to set materials on individual tiles. Is it supposed to be a single material for all the tiles?

Generally speaking 1 ISMc = 1 material but:

- you could leverage [Custom Primitive Data](https://docs.unrealengine.com/4.27/en-US/RenderingAndGraphics/Materials/CustomPrimitiveData/) to make each instance of the ISM look different. [Example](https://forums.unrealengine.com/t/hierarchical-instanced-static-mesh-does-not-support-custom-data-correctly/468750/4). The technique is very efficient but it has its limits. If the materials are fully procedural, the possibilities are almost limitless. But you cannot really dynamically feed instances texture samples, only raw float data.

- you could have many ISMc - as many as there are materials. To “_change the material_”, you’d remove a mesh instance from one ISMc and add it to another ISMc. The material change would be automatic. You can absolutely combine it with the Custom Primitive Data. Think of it as of a Tile Manager actor that creates a bunch of (dynamic) materials, and handles many ISMc.

- and finally, have a single ISMc. When an instance tile is interacted with, you remove that instance and replace it with a static mesh.

---

_[View the full topic](https://forums.unrealengine.com/t/i-want-to-make-a-tiled-component-that-i-can-animate/1182898)._
