<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@soulmachines/smwebsdk](./smwebsdk.md) &gt; [Persona](./smwebsdk.persona.md) &gt; [animateToNamedCameraWithOrbitPan](./smwebsdk.persona.animatetonamedcamerawithorbitpan.md)

## Persona.animateToNamedCameraWithOrbitPan() method

Cut or animate to a named camera position, with support for camera adjustment.

**Signature:**

```typescript
animateToNamedCameraWithOrbitPan(cameraName: string, time: number, orbitDegX: number, orbitDegY: number, panDeg: number, tiltDeg: number): Promise<VariablesModel>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  cameraName | string | Named camera position. The currently supported option is "CloseUp". |
|  time | number | Time in seconds for the animation to run. 0 indicates a cut. |
|  orbitDegX | number | Degrees of horizontal rotation around implicit orbit point of camera position (typically the middle of the Persona's head) |
|  orbitDegY | number | Degrees of vertical rotation around implicit orbit point of camera position (typically the middle of the Persona's head) |
|  panDeg | number | Degrees of camera pan. Orbital adjustment is applied before pan adjustment. |
|  tiltDeg | number | Degrees of camera tilt. Orbital adjustment is applied before tilt adjustment. |

**Returns:**

Promise&lt;VariablesModel&gt;

