# Trying to find width of tilemap level

**URL:** https://forum.makecode.com/t/trying-to-find-width-of-tilemap-level/1134
**Category:** Arcade
**Created:** [January 30, 2020, 3:27am UTC](https://forum.makecode.com/t/trying-to-find-width-of-tilemap-level/1134 "2020-01-30T03:27:45Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![cosmoscowboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cosmoscowboy/32/1718_2.png) [@cosmoscowboy](https://forum.makecode.com/u/cosmoscowboy)
#### Post date: [October 3, 2020, 7:25pm UTC](https://forum.makecode.com/t/trying-to-find-width-of-tilemap-level/1134/3 "2020-10-03T19:25:21Z")

</div>

@p3nguinc4g3  
You have probably moved on from your original question, but I found this post which explains one getting the dimensions of a tilemap, in relation to the x,y of a sprite

> [@Tilemap col/row to x/y conversion](https://forum.makecode.com/t/tilemap-col-row-to-x-y-conversion/3176):
>
> Is there a way to easily convert a tilemap col/row position to an x/y coorindates? Some block refer to tilemap col/row positions and others refer to x/y coordinates. So far the only way I know to get the actual x/y coordinates is to turn on physics for my character, walk them over the tilemap in game, and read the co/row position physics is showing. I need both the col/row and x/y values because I am trying to create an event that willcause the camera to refocus on a part of the map when my c…

---

_[View the full topic](https://forum.makecode.com/t/trying-to-find-width-of-tilemap-level/1134)._
