// Editor.Point is a simple 2D integer coordinate (x, y). Plugins use it // as a lightweight tuple for mouse positions, grid coordinates, and UI // placement offsets — anywhere a pair of ints is clearer than vec2. // // Typical example: translating a Widget drop location into a grid cell. constdropPosition = newEditor.Point(); dropPosition.x = 137; dropPosition.y = 92;
Represents a 2D point with x and y coordinates.
Example