    Contents  Index  Topic Contents
    Previous Topic: Arcs
    Next Topic: Matte

> ## Button

> This example displays a button that, when you click on it, goes to the Microsoft home page. To make the button, we first draw a square and made it pickable, using the Pickable function. This means the image recognizes when the mouse is within its bounding box. The blue square turns red when this happens. On a left-button click, the button transfers you to the Microsoft home page. This is done with the ScriptCallback function.

> To see the source code, right-click the title above the button and choose View Source from the menu that appears.

> © 1998 Microsoft Corporation. All rights reserved. Terms of Use.

> Top of Page