# script

> The MonoBehaviour script asset corresponding to the component type represented by this GizmoInfo.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public Object script { get; }
```

### Remarks

User-defined types are accessible through the [GizmoInfo.script](/engine/6000.3/script-reference/unityeditor/gizmoinfo/script.md) property, but built-in types (e.g., Transform) are not. Use [GizmoInfo.name](/engine/6000.3/script-reference/unityeditor/gizmoinfo/name.md) to identify built-in gizmo types.
