# Animatable.getValueAt
Gets the interpolated value of this property at a specific frame.

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## Animatable.getValueAt() method

Gets the interpolated value of this property at a specific frame. If `frame` is omitted, the value at the current timeline playhead is returned.

**Signature:**

```typescript
getValueAt(frame?: number): T;
```

## Parameters

<table>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        frame
      </td>

      <td>
        number
      </td>

      <td>
        _(Optional)_ The frame number to query. Defaults to the current timeline frame.
      </td>
    </tr>
  </tbody>
</table>

**Returns:**

`T`

The interpolated value at the given frame.

## Remarks

For properties that aren't animated (no keyframes), the static value is returned regardless of `frame`. When the property is animated, the returned value is interpolated between keyframes using each keyframe's easing. Frames outside the keyframed range are clamped to the first or last keyframe's value.

## Example

```ts
// Get the value at a specific frame
const positionAtFrame30 = layer.position.getValueAt(30);

// Get the value at the current playhead
const currentPosition = layer.position.getValueAt();
```
