How can i set transform of mesh according to surface of environment

How can i set transform of mesh according to surface of environment using blueprints?

I am trying to spawn a floor actor but i want to transform scale and transform it according to the environment (walls) using blueprint automatically so that the floor will adjust itself automatically to the walls in runtime. Is this possible?

Yes it is possiboe but I think we will need a more clear explanation of what youre trying to do.
Do you mean you want a box of 4 walls which could be wide or narrow or square snd wsnt the floor piece to automatically grow or shrink on both horizontal axes to match up with the inside edge of the walls thereby fitting the floor perfectly inside the room?