Source Academy Modules
    Preparing search index...

    Function set_alpha

    • Set the alpha of the object. Mutate the object.

      Parameters

      • obj: GameObject

        object to be set

      • alpha: number

        new alpha

      Returns GameObject | undefined

      game object itself