Commands:Stretchto

The command stretches an element to fit exactly inside a box. If you want to preserve the aspect of the element, see and.

Usage
stretchto,left,top,right,bottom The parameters left, top, right, and bottom define the rectangle to fit the element into.

Examples
To stretch an element to cover the bottom-left quarter of the screen:

stretchto,0,SCREEN_CENTER_Y,SCREEN_CENTER_X,SCREEN_HEIGHT

To fit an element into a 100px square box at (200, 500):

stretchto,200,500,300,600