{{newin|[[0.10.0]]|100|type=function}}
Sets the [[love.graphics.setScissor|scissor]] to the rectangle created by the intersection of the specified rectangle with the existing scissor.  If no scissor is active yet, it behaves like [[love.graphics.setScissor]].

The scissor limits the drawing area to a specified rectangle. This affects all graphics calls, including [[love.graphics.clear]].

The dimensions of the scissor is unaffected by graphical transformations (translate, scale, ...).
== Function ==
=== Synopsis ===
<source lang="lua">
love.graphics.intersectScissor( x, y, width, height )
</source>
=== Arguments ===
{{param|number|x|The x-coordinate of the upper left corner of the rectangle to intersect with the existing scissor rectangle.}}
{{param|number|y|The y-coordinate of the upper left corner of the rectangle to intersect with the existing scissor rectangle.}}
{{param|number|width|The width of the rectangle to intersect with the existing scissor rectangle.}}
{{param|number|height|The height of the rectangle to intersect with the existing scissor rectangle.}}
=== Returns ===
Nothing.

== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.setScissor]]
* [[love.graphics.getScissor]]
* [[love.graphics.push]]
* [[love.graphics.pop]]
[[Category:Functions]]
{{#set:Description=Sets the [[love.graphics.setScissor|scissor]] to the rectangle created by the intersection of the specified rectangle with the existing scissor.}}
{{#set:Sub-Category=State}}
== Other Languages ==
{{i18n|love.graphics.intersectScissor}}