How to set boundaries so that player just walk on the tiles, it will not accept input if there is no floor/tiles As shown in the image. If i set invisible walls then i have to set it for every space in the way of tiles or is there any other way for doing that.

![![alt text][2]][2]
You have to do a line trace downwards from the player. But you can’t do it from the center of the player, because by the time they’re stepped off the tiles, it’s too late.
So you need to do the trace downwards from slightly front of the player in the direction of travel.
It’s not trivial, especically if the player can move sideways.
OR…
If you made the tiles blueprints with 4 blocking volumes, 1 on each side. When you place them in the level, in the construction script, the tile looks to see if it’s overlapping another tile on each side. If it is, then it turns off that collsion. Leaving only the ones that stop the player moving out of bounds…

Thanks for Answering. No it is not tile based game actually currently i am able to find the right image. I am just sitting and the question arrive in my mind that how to stop player not move outside the game boundary. Its a puzzle game where player have to make the way and get every coins.