@minecraft/server
    Preparing search index...

    Interface Vector2Beta

    Represents a two-directional vector.

    interface Vector2 {
        x: number;
        y: number;
    }
    Index

    Properties

    x y

    Properties

    x: number

    X component of the two-dimensional vector.

    y: number

    Y component of the two-dimensional vector.