##### Views

- Page
- Discussion
- View source
- History

# love.graphics.clear

Clears the screen to the background color and restores the default coordinate system.

This function is called automatically before love.draw in the default love.run function. See the example in love.run for a typical use of this function.

Note that the scissor area bounds the cleared region.

## Function

### Synopsis

love.graphics.clear( )

### Arguments

None.

### Returns

Nothing.

## See Also

- love.graphics.present
- love.graphics.setBackgroundColor
- love.graphics.setScissor
- love.graphics

## Other Languages

Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – Tiếng Việt – 한국어
More info

Retrieved from "https://www.love2d.org/wiki/love.graphics.clear"
Category: Functions

##### Personal tools

- Log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- Browse properties