<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEScrollViewScrollUpdate/location(in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEScrollViewScrollUpdate(im)locationInView:"
  },
  "title" : "location(in:)"
}
-->

# location(in:)

Returns the location of the scroll update in the coordinate system of the given view.

```
func location(in view: UIView?) -> CGPoint
```

## Parameters

`view`

The view that contains the coordinate system to express the location. Pass `nil` to get the location in the window’s coordinate system.

## Return Value

The location of the scroll update in the specified view’s coordinate system.

---

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)