---
title: "point(inside:with:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiview/point(inside:with:)"
---

# point(inside:with:)

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

## Declaration

```swift
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

Return Value true if point is inside the receiver’s bounds; otherwise, false.

## See Also

### Hit-testing in a view

- [hitTest(_:with:)](uikit/uiview/hittest(_:with:).md)
