<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ScrollInputKind/look(axes:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15ScrollInputKindV4look4axesAcA4AxisO3SetV_tFZ"
  },
  "title" : "look(axes:)"
}
-->

# look(axes:)

On visionOS, by looking at the edge of a scroll view
the content can automatically scroll. This contructor
method takes a set of the scrollable axes.

```
static func look(axes: Axis.Set) -> ScrollInputKind
```

## Discussion

This is an opt-in behavior.

---

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)