# Making a Path and Uploading to C#

**URL:** <https://discourse.mapeditor.org/t/making-a-path-and-uploading-to-c/461>\
**Category:** Questions\
**Created:** [April 11, 2015, 1:31pm UTC](https://discourse.mapeditor.org/t/making-a-path-and-uploading-to-c/461 "2015-04-11T13:31:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrPickle](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@MrPickle](https://discourse.mapeditor.org/u/MrPickle)\
**Post date:** [April 11, 2015, 1:31pm UTC](https://discourse.mapeditor.org/t/making-a-path-and-uploading-to-c/461/1 "2015-04-11T13:31:31Z")

</div>

Iv got a couple questions. Mainly because i am new with Tiled.

1. I have made a road, and i need it for my enemies to walk on only and not off into other areas, so how do i do that, some kind of collision?, if so how?.
2. how do i put this map on my c# code.

---

<div class="post-metadata">

**Author:** ![Ablu](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/ablu/32/1496_2.png) [@Ablu](https://discourse.mapeditor.org/u/Ablu)\
**Post date:** [April 11, 2015, 2:18pm UTC](https://discourse.mapeditor.org/t/making-a-path-and-uploading-to-c/461/2 "2015-04-11T14:18:49Z")

</div>

> [@MrPickle](#):
>
> 1. I have made a road, and i need it for my enemies to walk on only and not off into other areas, so how do i do that, some kind of collision?, if so how?.

I would use the polygon tool for this. It allows you to create polygon objects on your map. You can also attach additional context to the areas using the object properties

> [@MrPickle](#):
>
> 1. how do i put this map on my c# code.

See [Support for TMX maps · mapeditor/tiled Wiki · GitHub](https://github.com/bjorn/tiled/wiki/Support-for-TMX-maps#microsoft-xnanet) for a number of .NET libraries supporting map loading.

Note that some libraries are not up to date with tiled latest features. You will need to have a look at wether the libraries supports all the tiled features you decide to use.

Regards,  
Ablu
