# component

> Points to the owning component - if available, otherwise null.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.AI](/engine/6000.6/script-reference/unityengine/ai.md)
* **Assembly:** UnityEngine.AIModule

```csharp
public Component component { get; set; }
```

### Remarks

When build sources are obtained using CollectSources, this value typically refers to a mesh or collider component - however for shared meshes it will be null.

Additional Resources: [\_sharedMesh](/engine/6000.6/script-reference/unityengine/meshfilter/sharedmesh.md)
