# NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

# photobot.Layer.screen()

## Syntax

    canvas.layers[i].screen()

## Description

Sets the blend mode of layer i to screen. Screening an image is the opposite of the Layer.multiply() command. Black layers do not change the background, white layers make everything white. So screen usually returns a lighter result.

## Example

    photobot = ximport("photobot")
    canvas = photobot.canvas(100,100)
    canvas.layer("robot.jpg")
    i = canvas.layer("newspaper.jpg")
    canvas.layers[i].screen()