event_object


Description

This read-only variable returns object index of the instance which is running the event being checked.


Syntax:

event_object;


Returns:

Real


Example:

global.obj = event_object;

The above code stores the object index of the instance performing the event in a global variable.