Source Academy Modules
    Preparing search index...

    Function update_flip

    • Updates the flip state of the GameObject.

      Parameters

      • gameObject: GameObject

        GameObject reference

      • flip: FlipXY

        The [x, y] flip state as a boolean array

      Returns GameObject

      the GameObject reference passed in

      update_flip(create_triangle(100, 100), [false, true]);