RaycastHit2D.transform
var transform: Transform;
Description

The Transform of the object that was hit.

See Also: Transform class.