GetClickingObject

In the Neverwinter Nights toolset, GetClickingObject is used in a script to determine what just clicked on a particular object, for the purposes of executing a script or other function.

This is of particular importance when a script needs to execute when Player 1 clicks the object containing the script in question, but not when Player 2 clicks it.