# Not Sure How To Talk To The Children

**URL:** <https://forum.kirupa.com/t/not-sure-how-to-talk-to-the-children/317139>\
**Category:** flash\
**Created:** [December 11, 2010, 4:45pm UTC](https://forum.kirupa.com/t/not-sure-how-to-talk-to-the-children/317139 "2010-12-11T16:45:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rimacy](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Post date:** [December 11, 2010, 4:45pm UTC](https://forum.kirupa.com/t/not-sure-how-to-talk-to-the-children/317139/1 "2010-12-11T16:45:04Z")

</div>

Here’s how it goes:

Parent ScreenHandler

Children: BackGround, Ship, Rocks

My problem is that no matter where I tell my ship to add(x,y) it’s always in the upper left hand corner and i want it to be centered in the middle while everything moves around it.

Should i be doing this:

ship.x=screenHandler.width/2; ???
