<!--
{
  "availability" : [
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKInterfaceInlineMovie/setAutoplays(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKInterfaceInlineMovie(im)setAutoplays:"
  },
  "title" : "setAutoplays(_:)"
}
-->

# setAutoplays(_:)

Sets a Boolean value indicating whether the movie automatically begins playing as soon as the scene is presented.

```
func setAutoplays(_ autoplays: Bool)
```

## Parameters

`autoplays`

A Boolean value indicating the movie’s autoplay behavior. Specify <doc://com.apple.documentation/documentation/Swift/true> to have the movie automatically play as soon as the scene is presented. If set to <doc://com.apple.documentation/documentation/Swift/false>, the inline movie object displays the poster image instead. The movie does not begin playing until the user taps the poster, or until you programmatically call either the [`play()`](/documentation/WatchKit/WKInterfaceInlineMovie/play()) or [`playFromBeginning()`](/documentation/WatchKit/WKInterfaceInlineMovie/playFromBeginning()) method. Defaults to <doc://com.apple.documentation/documentation/Swift/true>.

## Discussion

---

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)