--- title: "Vision - Tag Browse Tree Scripting Functions" --- # Vision - Tag Browse Tree Scripting Functions > This page details the various component and extension functions available for Vision's [Tag Browse Tree](tag-browse-tree.md) component. ## Component Functions This component does not have component functions associated with it. ## Extension Functions ### filterTag * Description * Called for each tag loaded into tag browse tree. Return false to hide this tag from the tree. Note that this is called for each **Tag**, not any folders that appear in the component. * Parameters * Component **self** - A reference to the component that is invoking this function. * Tag Object **tag** - The tag itself. * Return * Boolean ### createPopupMenu * Description * Returns a popup menu that will be displayed when the user triggers a popup menu (right click) on the tree. Use [system.vision.createPopupMenu](appendix/scripting-functions/system-vision/system-vision-createPopupMenu.md) to create the popup menu. * Parameters * Component **self** - A reference to the component that is invoking this function. * Tag Object **clickedTag** - The tag of the clicked on tree path. * List **selectedTags** - The tags of the selected paths of the tree. * Return * JPopupMenu