Scratch for Java

Sprite::setColorEffect()

Scratch's colour effect: shifts every colour of the costume around the colour wheel. 0 is no change; 100 is halfway round; 200 is all the way round again. Like Scratch, it gives colours too grey or too dark to show a hue a little one, so white and black are tinted too.

Examples

View on GitHub

Syntax

Java

.setColorEffect(value)

Scratch

set [color v] effect to (value)

Parameters

Name Data Type Description
value double the effect

Return

void

setColorEffect()

Create Shareable URL

Select Sections