melonJS
    Preparing search index...

    Interface Placement

    Where a control sits: the distance from its center to the edges of the viewport, in viewport pixels. Give one of left / right and one of top / bottom; the control keeps that distance when the viewport is resized or turned.

    interface Placement {
        bottom?: number;
        left?: number;
        right?: number;
        top?: number;
    }
    Index
    bottom?: number
    left?: number
    right?: number
    top?: number