• Parameters

    • position: {
          x: number;
          y: number;
      }
      • x: number
      • y: number
    • element: HTMLElement

    Returns Vector2