UNPKG

@phaserjs/phaser

Version:
5 lines (4 loc) 155 B
import { Saturate } from "./Saturate"; export function Grayscale(gameObject, value, multiply = false) { return Saturate(gameObject, -value, multiply); }