y

Gets/ets the current y(vertical) position of the Collider.

Examples

const example = $.makeCircleCollider(0,$.h/2,50);
function update() {
    example.y += 1;
    if(example.y > $.h) {
        example.y = 0;
    }
    example.draw();
}