# getChildByName()

**URL:** <https://forum.kirupa.com/t/getchildbyname/297610>\
**Category:** flash\
**Created:** [October 6, 2009, 12:22am UTC](https://forum.kirupa.com/t/getchildbyname/297610 "2009-10-06T00:22:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexWD](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Post date:** [October 6, 2009, 12:22am UTC](https://forum.kirupa.com/t/getchildbyname/297610/1 "2009-10-06T00:22:41Z")

</div>

Through getChildByName is it possible to access the mouseChildren property of a Sprite? I’m guessing no, but before I go about changing something I want to make sure it’s necessary and that I’m not just doing something wrong…

ex:

```auto
STAGE.getChildByName('container').mouseChildren = false;

```

Would give me an error. I see this is because getChildByName returns a DisplayObject object. So I guess my question is: Is it possible to get the actual Object (Sprite in my case)?
