Game editor

Is it possible to create a mode is editor, with an inventory and change walls and all possible to change but in the game (compiled) like the portal 2 maps editor ?

Yea sure. I’m working right now on a TowerDefense which pretty much does that. Towers block pathfinding and get spawned in by the player.