Source Academy Modules
    Preparing search index...

    Function green_of

    • Returns the green component of the given pixel.

      Parameters

      • pixel: Pixel

        The given pixel

      Returns number

      The green component as a number between 0 and 255