Have an Event interact with an event directly above it

I need multiple events to either set a switch or erase the event above the triggering event. I am using Yanfly's event copier and it does not work with the "var key = [mapId, eventId, A-D] $gameSelfSwitches.setValue(key, true);" script does not carry over if I am trying to target an event in the template map.

I have been trying to find a script that uses a y offset so I can just do a offset(0,1) but I have not found anything for offset.

I would like to use an offset or something similar so I can make one event script with the Copier and not have to modify every event.

Any help is greatly appreciated.
then you'll need to use either the event command "get location info" or its scripted equivaent.
One of the options of that command is to return the ID of an event at a given position - use that to identify the event and then delete or modify it.
What is it that you're trying to do? If you have two events that make up the one "object" because the sprite is too big to fit on a single tile, make a spritesheet that contains the image, and just use a single event. It won't show fully in the editor, but it will when you play the game.

If that's not it, please explain what you're doing rather than how you're trying to do it, as there may be a better and easier way.

Original thread: https://forums.rpgmakerweb.com/threads/have-an-event-interact-with-an-event-directly-above-it.108193/