STRETCH SPRITE This command will expand or shrinks the specified sprite according to the scale values provided.
Syntax
    STRETCH SPRITE Sprite Number, XScale, YScale
Parameters
    Sprite Number
Integer The sprite number
    XScale
Integer The x scale value is zero, the sprite will disappear. If the scale value is 100, the sprite will be set to its original size. If the scale value is set to 200, the size of the sprite will double
    YScale
Integer The y scale value is zero, the sprite will disappear. If the scale value is 100, the sprite will be set to its original size. If the scale value is set to 200, the size of the sprite will double
Returns
This command does not return a value.
Description
You must specify both a horizontal and vertical scale when stretching sprites. If the scale value is zero, the sprite will disappear. If the scale value is 100, the sprite will be set to its original size. If the scale value is set to 200, the size of the sprite will double. The parameters should be specified using integer values.
Example Code
    cls

    load image "man.bmp",1

    sprite 1,100,100,1

    sprite 2,200,200,1

    wait 1000*8

    do

    stretch sprite 1,200,200

    loop

    end
See also
SPRITE Commands Menu Index