Source Academy Modules
    Preparing search index...

    Function set_flip

    • Sets the horizontal and flipped state of the object. Mutate the object.

      Parameters

      • obj: GameObject

        game object itself

      • x: boolean

        to flip in the horizontal state

      • y: boolean

        to flip in the vertical state

      Returns GameObject | undefined

      game object itself