dacha
    Preparing search index...

    Interface WorldPosition

    The position of an actor in the scene. It is transform.world.position.

    Reading x or y computes the value from the parent actors. Setting it changes the local position so that the world position gets the new value.

    Index
    x y
    • get x(): number

      The x value of the world position.

      Returns number

    • set x(val: number): void

      The x value of the world position.

      Parameters

      • val: number

      Returns void

    • get y(): number

      The y value of the world position.

      Returns number

    • set y(val: number): void

      The y value of the world position.

      Parameters

      • val: number

      Returns void