# Metadata on tilesheet?

**URL:** <https://forum.kirupa.com/t/metadata-on-tilesheet/306431>\
**Category:** programming\
**Created:** [March 15, 2010, 1:28pm UTC](https://forum.kirupa.com/t/metadata-on-tilesheet/306431 "2010-03-15T13:28:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maqrkk](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Post date:** [March 15, 2010, 1:28pm UTC](https://forum.kirupa.com/t/metadata-on-tilesheet/306431/1 "2010-03-15T13:28:35Z")

</div>

Hello everyone,

I’m making a platform game, and have put the frames of the character inside a tilesheet (instead of a MovieClip). The first tile is the ‘idle’ state, tiles 2, 3 and 4 are for 'walking, etc.

Because the tiles are in a tilesheet, they all have the same width and height. What is the best way to store data about the **actual** size of each tile? For example, tile 1 is 16x24, the rest is empty, while tile 2 is 20x23. Should I store each ‘dimension’ in an Array, or is there a better way?
