# Components, Parent and Child

**URL:** <https://forum.kirupa.com/t/components-parent-and-child/127235>\
**Category:** Uncategorized\
**Created:** [November 1, 2004, 4:00am UTC](https://forum.kirupa.com/t/components-parent-and-child/127235 "2004-11-01T04:00:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Chen](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@Michael\_Chen](https://forum.kirupa.com/u/Michael_Chen)\
**Post date:** [November 1, 2004, 4:00am UTC](https://forum.kirupa.com/t/components-parent-and-child/127235/1 "2004-11-01T04:00:05Z")

</div>

Hi Everyone

I’ve created a component within a component, however when I’m trying to change the property of the child component I can’t. I can only change the parent component.

compOne.compTwo.move(x,y); // Does nothing.  
compOne.move(x,y); // Moves the parent component, to x and y.

Have I got the syntax wrong?
