Selection.activeTransform Manual     Reference     Scripting  
Scripting > Editor Classes > Selection
Selection.activeTransform

static var activeTransform : Transform

Description

Returns the active transform. (The one shown in the inspector)

This will never return prefabs or non-modifyable objects.