<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [LayerTree](./puppeteer.protocol.layertree.md) &gt; [StickyPositionConstraint](./puppeteer.protocol.layertree.stickypositionconstraint.md)

## Protocol.LayerTree.StickyPositionConstraint interface

Sticky position constraints.

<b>Signature:</b>

```typescript
export interface StickyPositionConstraint 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [containingBlockRect](./puppeteer.protocol.layertree.stickypositionconstraint.containingblockrect.md) | [DOM.Rect](./puppeteer.protocol.dom.rect.md) | Layout rectangle of the containing block of the sticky element |
|  [nearestLayerShiftingContainingBlock](./puppeteer.protocol.layertree.stickypositionconstraint.nearestlayershiftingcontainingblock.md) | [LayerId](./puppeteer.protocol.layertree.layerid.md) | The nearest sticky layer that shifts the containing block |
|  [nearestLayerShiftingStickyBox](./puppeteer.protocol.layertree.stickypositionconstraint.nearestlayershiftingstickybox.md) | [LayerId](./puppeteer.protocol.layertree.layerid.md) | The nearest sticky layer that shifts the sticky box |
|  [stickyBoxRect](./puppeteer.protocol.layertree.stickypositionconstraint.stickyboxrect.md) | [DOM.Rect](./puppeteer.protocol.dom.rect.md) | Layout rectangle of the sticky element before being shifted |