I didn't find any answer with search, so I'm here to ask.
I want to activate event (for example turn on/off a switch, or call an elevator, or talk to a PNJ) when my sprite player is near an other sprite and the space key is pressed.
My example is in top view, like old 16 bits RPG and I can't find a easy way to do what I want.
With coordinates ? It's complicate if there are many points where the event can be run.
With collision ? Hmmm, not really. The event should be run also when the player sprite isn't moving.
Any other ideas ? It seems to be a classic issue, but I can't find any easy way to do it in tutorials or Kiatric FAQ !