# MovieClip.\_location property

**URL:** https://forum.kirupa.com/t/movieclip--location-property/39687
**Category:** random
**Created:** [January 9, 2004, 9:55pm UTC](https://forum.kirupa.com/t/movieclip--location-property/39687 "2004-01-09T21:55:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![eyezberg](https://avatars.discourse-cdn.com/v4/letter/e/77aa72/32.png) [@eyezberg](https://forum.kirupa.com/u/eyezberg)
#### Post date: [January 9, 2004, 9:55pm UTC](https://forum.kirupa.com/t/movieclip--location-property/39687/1 "2004-01-09T21:55:40Z")

</div>

via [http://www.darronschall.com/weblog/archives/000081.cfm](http://www.darronschall.com/weblog/archives/000081.cfm) :

"It has been said that necessity is the mother of invention. It has been argued that annoyance, not necessity, fuels invention.

I’d like to start the year off with a little script brought to life by annoyance. To set the position of a MovieClip, you need two lines of code: one to set the \_x position, and another to set the \_y position. Many times I found myself wishing for a way to set a MovieClip’s coordinates in one line. Enter the “\_location” property. Use the code below to add the \_location property to all of your MovieClips.  
…"
