# Read possition on the grid of a tile on a tile map, and place a tile in that possition

**URL:** <https://forums.unrealengine.com/t/read-possition-on-the-grid-of-a-tile-on-a-tile-map-and-place-a-tile-in-that-possition/438558>\
**Category:** Blueprint\
**Tags:** tile-maps, tiles, unreal-engine, Blueprint, question\
**Created:** [November 29, 2018, 4:55pm UTC](https://forums.unrealengine.com/t/read-possition-on-the-grid-of-a-tile-on-a-tile-map-and-place-a-tile-in-that-possition/438558 "2018-11-29T16:55:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alefaso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alefaso](https://forums.unrealengine.com/u/alefaso)\
**Post date:** [November 29, 2018, 4:55pm UTC](https://forums.unrealengine.com/t/read-possition-on-the-grid-of-a-tile-on-a-tile-map-and-place-a-tile-in-that-possition/438558/1 "2018-11-29T16:55:49Z")

</div>

Hello everyone, i’ve come here with a question very different from any i’ve made before, and that’s bc this is for a little side-project and not the big project i normally work on.

A little context: There’s a tile map, that contains an advertisement billboard, the billboard says something like “Wellcome to Caneda” with each letter being a tile on the tile map. Then the player has on the lowermost part of the screen a “toolbar” containing tiles with the alphabet. To complete the level the player needs to click a character on the toolbar, in this case “a” and then a blueprint script loads “a” on “selected\_from\_toolbar” variable, then the player gotta click the typo on the billboard to replace, in this case, the “e” in “Caneda” so it becomes “Canada”.

The question is, how can i with the use of blueprint scripting, get the “id” of a clicked tile (whether is the a,b,c,d on the tileset, etc) and it’s “x-y possition on the tilemap” to store them into a variable to compare later on, and also have the “e” tile clicked, being replace with the “a” tile stored in the “selected\_from\_toolbar” variable.

I thought of using an array of vector variables, each one containing the x-y possition of a tile on the tile map and use that for referencing everything but i am also not sure how o make that either.

How do you guys recomend that i board this problem?
