# draw/push-clip
Push a clip rect in local component coordinates, intersecting with any existing clip. Subsequent draw calls are scissored to the intersection. Must be paired with a matching `draw/pop-clip`.
## Syntax
[draw/push-clip $ctx $x $y $w $h]
## Parameters
- `$ctx` — DrawContext; `$x`/`$y` — local origin (px); `$width`/`$height` — clip size
## Examples
[draw/push-clip $ctx 0 0 100 50] [draw/text $ctx 5 2 "clipped" "#ffffff"] [draw/pop-clip $ctx]
## Returns
`nil`
## See Also
`draw/pop-clip`