<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIView/point(inside:with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIView(im)pointInside:withEvent:"
  },
  "title" : "point(inside:with:)"
}
-->

# point(inside:with:)

Returns a Boolean value indicating whether the receiver contains the specified point.

```
func point(inside point: CGPoint, with event: UIEvent?) -> Bool
```

## Parameters

`point`

A point that is in the receiver’s local coordinate system (bounds).

`event`

The event that warranted a call to this method. If you are calling this method from outside your event-handling code, you may specify `nil`.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if `point` is inside the receiver’s bounds; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## 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)