Interface TouchInteraction

Represents a single touch or pointer interaction with the screen, including position and size information

interface TouchInteraction {
    positionInViewport: Vector2;
    radius: Vector2;
}

Properties

positionInViewport: Vector2

The interaction position on the screen

radius: Vector2

The area of the interaction represented as a radius of the ellipse