# Are tilemaps/tilesets accessible via the Lua API yet?

**URL:** https://community.aseprite.org/t/are-tilemaps-tilesets-accessible-via-the-lua-api-yet/9764
**Category:** Scripts & Extensions
**Created:** [June 28, 2021, 9:20pm UTC](https://community.aseprite.org/t/are-tilemaps-tilesets-accessible-via-the-lua-api-yet/9764 "2021-06-28T21:20:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![giogadi](https://community.aseprite.org/user_avatar/community.aseprite.org/giogadi/32/7778_2.png) [@giogadi](https://community.aseprite.org/u/giogadi)
#### Post date: [June 28, 2021, 9:20pm UTC](https://community.aseprite.org/t/are-tilemaps-tilesets-accessible-via-the-lua-api-yet/9764/1 "2021-06-28T21:20:01Z")

</div>

I’d like to export my tilemap as a list of tile indices using the Lua API. However, I don’t see the tile data in the API docs. I know that the tile functionality is still in beta, so if it’s not yet available from the Lua API that makes sense. Thanks!

---

<div class="post-metadata">

### Author: ![dacap](https://community.aseprite.org/user_avatar/community.aseprite.org/dacap/32/10_2.png) [@dacap](https://community.aseprite.org/u/dacap)
#### Post date: [June 28, 2021, 9:27pm UTC](https://community.aseprite.org/t/are-tilemaps-tilesets-accessible-via-the-lua-api-yet/9764/2 "2021-06-28T21:27:40Z")

</div>

Hi there @giogadi, you can take a look to this script for some help: [GitHub - dacap/export-aseprite-file: Little Aseprite script to export the data inside a .aseprite](https://github.com/dacap/export-aseprite-file)
