MV Script call to turn "through" on/off for an event

I need to turn through on and off for an event. And I have to be able to specify the event by its ID, so I can't use something like "this._through = true;". I can't seem to find it anywhere. Thank you.

EDIT: Nevermind, I just tried something and it worked. It was:

$gameMap.event(n)._through = false;

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-to-turn-through-on-off-for-an-event.140812/