# love.keyreleased

Callback function triggered when a key is released.

## Function

### Synopsis

    love.keyreleased( key )

### Arguments

`KeyConstant key`
  Character of the key released.

### Returns

Nothing.

## Examples

Exit the game when the player releases the Escape key, using love.event.quit.

    function love.keyreleased(key)
       if key == "escape" then
          love.event.quit()
       end
    end

## See Also

- love
- love.keypressed
- love.keyboard.isDown

##

Category:

- Callbacks