Using blueprints to make room rotate

The concept seems simple enough, but I can’t figure out how to get this to work. The main concept is when the player looks at a wall, then presses a button, the room will then rotate making the wall they were looking at now be the floor. Any help would be greatly appreciated.