# Center of movieclip

**URL:** <https://forum.kirupa.com/t/center-of-movieclip/315034>\
**Category:** Uncategorized\
**Created:** [October 15, 2010, 4:26pm UTC](https://forum.kirupa.com/t/center-of-movieclip/315034 "2010-10-15T16:26:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![radi](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@radi](https://forum.kirupa.com/u/radi)\
**Post date:** [October 15, 2010, 4:26pm UTC](https://forum.kirupa.com/t/center-of-movieclip/315034/1 "2010-10-15T16:26:19Z")

</div>

how do i set somethings x/y to be its center and not its top left

i know that i can do X = mc.x - mc.width/2

but i think its possible to set its default to understand that its already centered in this way, just im not sure how
