Journeyman's Minimap - Code Plugin for Minimaps and Fog of

Hello!
I haven’t dug deep into this plugin, but I want to ask. In which direction do I need to proceed in order to make the fog “restart” after a certain event? That is, I assume that the fog is based on the texture being created and updated. And in order for the fog to return back, you need to “clear” this texture. Right? But I have no idea where exactly to look for a solution :sweat_smile:
And similarly, the issue with saving and loading this texture. Let’s say I want to save the game and load the level, but the fog of reverts to the state it was in when the game was saved. Do I just need to overwrite the current fog with the previously saved version?
Although my questions are simple, but I just want to make sure once again, so as not to waste time in vain.
Thanks!