Get event Id from event [x,y] coordinates RMVXA

I am trying to make a farm plot where some of the tools effect more than one event. (ie, plowing a 3x1 lot). Essentially, I want to use the events current co-ordinates to find the events next to it and change a "self variable" (from another script) in that event. But for that I need to find it's id.

Would it be simple to do this or will I need to check every event on the map to see it the coordinates match? And if so do you have any tips on doing so because I'm not new to programming but I'm new to this environment.
Get Location Info (tab 3 of event commands, right hand side, top group) will allow you to specify a location using variables, and put the event id into another variable. If it's 0, it means there's no event there.
Thank you very much 🙂 Now I can have event's effect the state of not just themselves but also the ones around it.

Original thread: https://forums.rpgmakerweb.com/threads/get-event-id-from-event-x-y-coordinates-rmvxa.92434/