# Export multiple sections (to Unity)

**URL:** <https://discourse.mapeditor.org/t/export-multiple-sections-to-unity/3163>\
**Category:** Questions\
**Created:** [April 30, 2018, 10:56am UTC](https://discourse.mapeditor.org/t/export-multiple-sections-to-unity/3163 "2018-04-30T10:56:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PedroQueiroz](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/pedroqueiroz/32/1721_2.png) [@PedroQueiroz](https://discourse.mapeditor.org/u/PedroQueiroz)\
**Post date:** [April 30, 2018, 10:56am UTC](https://discourse.mapeditor.org/t/export-multiple-sections-to-unity/3163/1 "2018-04-30T10:56:08Z")

</div>

Is there a way to break a big map into several smaller ?  
i know i can crop and export, then control + z … but maybe there is some way to make this more automatic  
because i would like to export like 100+ maps … and keep the big original for development.

I was thinking is possible to making a layer to identify my little maps, and then a script could export everything ?

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [April 30, 2018, 7:46pm UTC](https://discourse.mapeditor.org/t/export-multiple-sections-to-unity/3163/2 "2018-04-30T19:46:29Z")

</div>

This is definitely in the realm of problems where [making Tiled scriptable](https://github.com/bjorn/tiled/issues/949) would provide one possible approach to implementing this. It’s on the [Roadmap](https://github.com/bjorn/tiled/wiki/Roadmap) for Tiled 1.3, but it will still be a few months away.

In the meantime, you could code something yourself, either by modifying [Tiled source code](https://github.com/bjorn/tiled), or modifying [Tiled2Unity](https://github.com/Seanba/Tiled2Unity) (if you’re using that) or by coding a script in any other language that provides a writer for the TMX format (maybe try Python with [python-tmx](http://python-tmx.nongnu.org/)) to cut your map into pieces.
