//    Instruction Example :      gradient.position.set (objectid,long,long)


        screen.resolution.set (512,384)

        screen.set (BACK)
          pattern.display ("avo\bubble.gif")
        screen.end ()

        @grad = gradient.create (RIGHT,4,80,20,0,200,180,20,320,240)
        gradient.persistence.set (@grad,ON)
        gradient.display (@grad,CENTER,CENTER)

        text.display ("Press a key to set the position of the gradient.",CENTER,10)

        keyboard.wait ()

        gradient.position.set (@grad,0,30)

        text.display ("Press a key to exit.",CENTER,350)

        keyboard.wait ()

        script.stop ()