# Help with root

**URL:** <https://forum.kirupa.com/t/help-with-root/231162>\
**Category:** Uncategorized\
**Created:** [July 2, 2007, 4:29pm UTC](https://forum.kirupa.com/t/help-with-root/231162 "2007-07-02T16:29:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sger\_error](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@sger\_error](https://forum.kirupa.com/u/sger_error)\
**Post date:** [July 2, 2007, 4:29pm UTC](https://forum.kirupa.com/t/help-with-root/231162/1 "2007-07-02T16:29:28Z")

</div>

hello,

i want to access mouseX mouseY property of the root

any ideas heres my code in as2

if (this.btn.hitTest(\_root.\_xmouse, \_root.\_ymouse) || (this.itemBG\_mc.hitTest(\_root.\_xmouse, \_root.\_ymouse))) {  
} else {…

in as3???
