Used in the OnClick event to return the clicking object.
The reason for it being identical to GetEnteringObject() is that triggers, or course, can be said to be clicked on, or entered, when a transition is used.
This function is of course not meant to be used outside certain events, as it can return long dead or invalid creatures.
// some nonsense about requiring a key in a door's OnFailToOpen
object oPC = GetClickingObject();
AssignCommand(oPC, SpeakString("I need to find the key..."));
SpeakString("NO VALID TEMP PC");
author: Ryan Hunt, editor: Jasperre, additional contributor(s): Fred Brent, Charles Feduke, Jasperre