//    Instruction Example :     long panel.position.x.get (objectid)


        screen.resolution.set (512,384)

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

        @panel = panel.create ("avo\panel.png",320,240)

        panel.display (@panel,CENTER,CENTER)

        %data=panel.position.x.get (@panel)

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

        text.display ("The X position of the panel is : " + STR (%data),CENTER,10)

        keyboard.wait ()

        script.stop ()