<!--
{
  "availability" : [
    "Apple News Format: 1.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppleNewsFormat",
  "identifier" : "/documentation/AppleNewsFormat/MoveInAnimation",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple News Format"
    ],
    "preciseIdentifier" : "data:news_format:MoveInAnimation"
  },
  "title" : "MoveInAnimation"
}
-->

# MoveInAnimation

The animation whereby a component moves in from the side of the screen.

```
object MoveInAnimation
```

## Discussion

With this animation type the component moves into view from the left or right side of the screen. Initially, the component is out of view as shown in [this video](https://developer.apple.com/apple-news/videos/move-in.mp4).

You can configure a preferred starting position, but the position is not guaranteed. For example, if another component is blocking the preferred position, the `MoveInAnimation` attempts to start from the opposite side. If both sides are covered by other components, Apple News doesn’t apply the `MoveInAnimation`.

### Example

```json
{
  "components": [
    {
      "role": "heading1",
      "text": "2. Unbeatable Heat"
    },
    {
      "role": "figure",
      "URL": "bundle://figure.jpg",
      "animation": {
        "type": "move_in",
        "preferredStartingPosition": "left"
      }
    }
  ]
}
```

## See Also

  <doc://com.apple.applenews/documentation/AppleNews/adding-animations>

## Relationships

### Inherits From

[`ComponentAnimation`](/documentation/AppleNewsFormat/ComponentAnimation)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)