get self id and position?

How get the event position that call the script?
For example:
$game_map.events[id].x ==> the variable """"id"""" will be the npc that call this command.

There is some command for do it? something like "this.id" to reference the id of the event that call the script.
your description does not make any sense - and the answer depends on what maker you're asking this for.

So please state the maker and explain in more detail what you want to do.
Solved: use @event_id that means to use: this event.
this._eventId

EDIT: no, that's MV

EDIT/EDIT:
PHP:
@event_id

Screen%20Shot%202017-05-01%20at%207.34.59%20PM.png


Screen%20Shot%202017-05-01%20at%207.35.19%20PM.png

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/get-self-id-and-position.78108/