MV How to get the current event id?

Is there any way to know the current event id?
I mean, the event running the code.

For example, I have this code in an event

Code:
var this = $gameMap.event(this???);

And I want to know the id of the event itself to be able to copy/respawn the event later.
Ok, I got it!

Code:
var this = $gameMap.event(this._eventId);

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/how-to-get-the-current-event-id.132689/