{{newin|[[0.4.0]]|040|type=function}}
Sets or disables scissor.

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 ==
Limits the drawing area to a specified rectangle. 
=== Synopsis ===
<source lang="lua">
love.graphics.setScissor( x, y, width, height )
</source>
=== Arguments ===
{{param|number|x|x coordinate of upper left corner.}}
{{param|number|y|y coordinate of upper left corner.}}
{{param|number|width|width of clipping rectangle.}}
{{param|number|height|height of clipping rectangle.}}
=== Returns ===
Nothing.
== Function ==
Disables scissor.
=== Synopsis ===
<source lang="lua">
love.graphics.setScissor( )
</source>
=== Arguments ===
None.
=== Returns ===
Nothing.
== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.getScissor]]
* [[love.graphics.intersectScissor]]
[[Category:Functions]]
{{#set:Description=Sets or disables scissor.}}
{{#set:Sub-Category=State}}
== Other Languages ==
{{i18n|love.graphics.setScissor}}