# Can some one explain root to me?

**URL:** <https://forum.kirupa.com/t/can-some-one-explain-root-to-me/3007>\
**Category:** Uncategorized\
**Created:** [February 14, 2002, 9:29pm UTC](https://forum.kirupa.com/t/can-some-one-explain-root-to-me/3007 "2002-02-14T21:29:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 14, 2002, 9:29pm UTC](https://forum.kirupa.com/t/can-some-one-explain-root-to-me/3007/1 "2002-02-14T21:29:48Z")

</div>

i really dont understand it. can someone just kind of try to give me a real simple explaination (if one exists…)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 14, 2002, 10:34pm UTC](https://forum.kirupa.com/t/can-some-one-explain-root-to-me/3007/2 "2002-02-14T22:34:20Z")

</div>

\_root just refers to the root of the scene you’re into. Any object in that scene can be named \_root.nameofTheClip. It’s just the basis to write the path to an object, just as c: would be.\rIt’s very useful when you have two clips in the same scene. If you define a function, for instance, in the first movie clip, and that function has to take the x position of the second clip as a parameter. For the moment, you’re inside \_root.clip1. To go inside \_root.clip2 and get its position, you’ll just have to do \_root.clip.\_x.\r\rUnderstood ??\r\rpom 0]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 14, 2002, 11:27pm UTC](https://forum.kirupa.com/t/can-some-one-explain-root-to-me/3007/3 "2002-02-14T23:27:20Z")

</div>

yeah that helps…thanks a lot pom

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 14, 2002, 11:36pm UTC](https://forum.kirupa.com/t/can-some-one-explain-root-to-me/3007/4 "2002-02-14T23:36:46Z")

</div>

You can now try and have fun with it. Make movie clips containing three movie clips, each one of them containing either a button or a movie clip, and try to set variables from one to another clip, and trace your result to check if it works…\r\rpom 0]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 15, 2002, 12:24am UTC](https://forum.kirupa.com/t/can-some-one-explain-root-to-me/3007/5 "2002-02-15T00:24:54Z")

</div>

thanks have fun skiing don’t break anything major
