# Tree Component - Branch Question

**URL:** <https://forum.kirupa.com/t/tree-component-branch-question/231980>\
**Category:** flash\
**Created:** [July 10, 2007, 8:19am UTC](https://forum.kirupa.com/t/tree-component-branch-question/231980 "2007-07-10T08:19:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nineteen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nineteen/32/2679_2.png) [@Nineteen](https://forum.kirupa.com/u/Nineteen)\
**Post date:** [July 10, 2007, 8:19am UTC](https://forum.kirupa.com/t/tree-component-branch-question/231980/1 "2007-07-10T08:19:04Z")

</div>

Hey, I’m just wondering… When using the tree component how can I store the ‘node’ that is opened and is a branch?

Eg: I am able to store a var currentNodeSelected = treeInstance.selectedNode; But this only works when the node is clicked aka selected…

How do I do a var currentNodeDroppedDown = treeInstance.(what do I put here to store the node that has been opened by clicking the arrow…) using the nodeOpen event?

Cheers,  
Ryan
