The location of a pixel

interface Location {
    frame?: number;
    loop?: boolean;
    x: number;
    y: number;
}

Properties

Properties

frame?: number

Should this location be treated to be on the current frame, previous, or older?

Current frame is zero. Higher is older - but not guarenteed to be present

loop?: boolean

Should this location loop around screen borders?

x: number

x position

y: number

y position