The frame is only for reference, what I need is that the background is not wider than or higher than the frame, changing the coordinates of the points can be done but I remember seeing an example in which using "shifted" it could be done move to a corner, without worrying about the coordinates or point size \startuseMPgraphic{fullheightbackground} fill unitsquare xyscaled (OverlayWidth, OverlayHeight) withcolor "gray" ; w := MakeupWidth; h := OverlayHeight; draw (0,0)--(w,0) withpen pencircle scaled 2pt withcolor green; draw (0,h)--(w,h) withpen pencircle scaled 2pt withcolor green; drawdot (0,0) withpen pencircle scaled 8pt withcolor red; drawdot (w,h) withpen pencircle scaled 8pt withcolor red; \stopuseMPgraphic \defineoverlay [fullheightbackground] [\useMPgraphic{fullheightbackground}] \setupframedtexts [background=fullheightbackground, backgroundoffset=0pt, frame=off] \starttext \startframedtext[width=\textwidth,align=left] \input knuth \stopframedtext \stoptext