---
title: "frameObscured(in:)"
framework: pencilkit
role: symbol
role_heading: Instance Method
path: "pencilkit/pktoolpicker/frameobscured(in:)"
---

# frameObscured(in:)

Returns the portion of the specified view that the tool picker obscures.

## Declaration

```swift
func frameObscured(in view: UIView) -> CGRect
```

## Parameters

- `view`: The view that’s potentially obscured by the tool picker’s palette.

## Return Value

Return Value The portion of view (in its own coordinate space) obscured by the palette.

## Discussion

Discussion Because the palette is transparent in places, part of your view’s content may continue to show through in the specified rectangle.

## See Also

### Coordinating the visibility of the picker

- [setVisible(_:forFirstResponder:)](pencilkit/pktoolpicker/setvisible(_:forfirstresponder:).md)
- [isVisible](pencilkit/pktoolpicker/isvisible.md)
