The Effect.Greyscale effect is a pixel effect that applies a greyscale color transformation.

property Bool enabled: true

When disabled, the greyscale effect is not applied.

property Float amount: 1

The proportion of the greyscale effect applied. A value of 0 leaves the input unchanged, whereas a value of 1 is completely greyscale.