About:
Restrict the event's movement to a certain region or terrain tag.
Because you don't want this to happen.
Features:
Using a specific region id will not let the event pass even when the through checkmark is ON.
Keep the event within a region. This will bypass the passability setting, but the event will only move within those region ids.
Sample setting
Download:
Save as a new JS file
Terms of Use:
Read here
Note:
Might add more features if requested, I'm not promising.
But for my own needs, these are enough.
I hope you find this useful.