# LookAt

> Moves the Scene view to focus on a target.

## Definition

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

## LookAt(Vector3)

Moves the Scene view to focus on a target.

```csharp
public void LookAt(Vector3 point)
```

### Parameters

**** (\[Vector3]\(/engine/6000.0/script-reference/unityengine/vector3)): The position in world space to frame.

## LookAt(Vector3, Quaternion)

Moves the Scene view to focus on a target.

```csharp
public void LookAt(Vector3 point, Quaternion direction)
```

### Parameters

**** (\[Vector3]\(/engine/6000.0/script-reference/unityengine/vector3)): The position in world space to frame.**** (\[Quaternion]\(/engine/6000.0/script-reference/unityengine/quaternion)): The direction that the Scene view should view the target point from.

## LookAt(Vector3, Quaternion, float)

Moves the Scene view to focus on a target.

```csharp
public void LookAt(Vector3 point, Quaternion direction, float newSize)
```

### Parameters

**** (\[Vector3]\(/engine/6000.0/script-reference/unityengine/vector3)): The position in world space to frame.**** (\[Quaternion]\(/engine/6000.0/script-reference/unityengine/quaternion)): The direction that the Scene view should view the target point from.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The amount of camera zoom. Sets [SceneView.size](/engine/6000.0/script-reference/unityeditor/sceneview/size.md).

## LookAt(Vector3, Quaternion, float, bool)

Moves the Scene view to focus on a target.

```csharp
public void LookAt(Vector3 point, Quaternion direction, float newSize, bool ortho)
```

### Parameters

**** (\[Vector3]\(/engine/6000.0/script-reference/unityengine/vector3)): The position in world space to frame.**** (\[Quaternion]\(/engine/6000.0/script-reference/unityengine/quaternion)): The direction that the Scene view should view the target point from.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The amount of camera zoom. Sets [SceneView.size](/engine/6000.0/script-reference/unityeditor/sceneview/size.md).**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Whether the camera focus is in orthographic mode (true) or perspective mode (false).

## LookAt(Vector3, Quaternion, float, bool, bool)

Moves the Scene view to focus on a target.

```csharp
public void LookAt(Vector3 point, Quaternion direction, float newSize, bool ortho, bool instant)
```

### Parameters

**** (\[Vector3]\(/engine/6000.0/script-reference/unityengine/vector3)): The position in world space to frame.**** (\[Quaternion]\(/engine/6000.0/script-reference/unityengine/quaternion)): The direction that the Scene view should view the target point from.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The amount of camera zoom. Sets [SceneView.size](/engine/6000.0/script-reference/unityeditor/sceneview/size.md).**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Whether the camera focus is in orthographic mode (true) or perspective mode (false).**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Apply the movement immediately (true) or animate the transition (false).
