Help with tile in the edge of the map

How can I do the tile looks like this
01.jpg


And NOT like this?
02.jpg


For this printscreens, I used a ready-made map.
it's called shift-click-mapping. You'll find several tutorials if you search for this term, but basically pressing shift disables the autotile function, allowing four different reactions to the same tile (shift or no shift when copying, shift or no shift when placing the tile).

you'll have to build the exact tile in an empty map area and then copy it to the point you want however
With auto-tiles (A1~A4) you draw the pattern the way you want it, on an unused part of the map or a new map.
Then, with the right mouse button you select the tile or tiles you want to copy.

How, if you hold shift while drawing, you will draw the tiles exactly as you copied them, ignoring all auto-tile rules.

Keep in mind that when you draw auto-tiles on the tiles next to it, it will re-apply the autotile rule. So best to do all the surrounding tiles first.

This will take some time to get used to, but once you got the hang of it, it is really useful.

Edit: It would be useful if you tell what you tried to do. I had to look at the images multiple times before I found out what you tried to ask.
It worked and I got the hang of it! Thank you!
The other option in this case is to simply include a blank column on the sides of the map. The autotiles are programmed so that if they go up against the edge of the map, they use the tile version that looks like it will continue - that way you can place a transfer event there and it'll look like the character is just walking out of the area.

I find it takes less time to size my map for a one-tile border around my map than it does to shift-click the walls along those borders.
I do that too. If you click CTRL+T after resizing, you can even easily shift everything awat from the border. Once done you can click CTRL+T again to shift it back, and then resize the map again, to get rid of the empty space.

For CTRL+T to work, you have to select the map in the list on the left first.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-tile-in-the-edge-of-the-map.145794/