TatVirtualMachine.CurrentObject Property
Returns the Delphi object whose property or method is currently being accessed or called by the virtual machine.
Remarks
For example, if the script calls MyObject.MyMethod(1), CurrentObject returns a reference to MyObject. Method wrappers typically use CurrentObject to obtain the actual object instance on which they should operate.
Syntax
Unit: atScript
property TatVirtualMachine.CurrentObject: TObject