Hiding a part of the map from the camera

So I made a map and drew a white border on it.




I used the border to make the player and my events look like exiting the map while walking. Is it possible to hide the white border around the map from the camera?
I wish there was a way to easily define camera borders, but there's no such plug-in from my own searches. There is a way to do it, of course, it's just... messy.
SRD's camera core:
This will allow you to make the camera stationary or offset it. What you'd have to do to make sure that the white squares aren't visible is to keep track of player x and y and when the player gets with X tiles of the map border, use camera commands to shift the camera every step the player takes away from the border so they don't see the tile.

If you find that work to be more trouble than seeing the player walk off the map is worth then the other solution is to not have that map border.
Hello. I made a plugin that allow player and events to make a move outside the screen when on map edges. It will reproduce the effect your looking for without the use of 'white borders' or camera shift...
If you're interested, I will release it later today, or tomorrow (whenever I have time).

Regards.
Well, one week later... finally got the time to post the plugin I was speaking about. If you're still interested, here it is: TSR_TransferTrigger

Regards.
Well, one week later... finally got the time to post the plugin I was speaking about. If you're still interested, here it is: TSR_TransferTrigger

Regards.
Will check it out

Original thread: https://forums.rpgmakerweb.com/threads/hiding-a-part-of-the-map-from-the-camera.144173/