# \[As 2.0\] Width and Height Locked

**URL:** <https://forum.kirupa.com/t/as-2-0-width-and-height-locked/302874>\
**Category:** Uncategorized\
**Created:** [January 9, 2010, 2:02am UTC](https://forum.kirupa.com/t/as-2-0-width-and-height-locked/302874 "2010-01-09T02:02:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lays](https://avatars.discourse-cdn.com/v4/letter/l/76d3ee/32.png) [@Lays](https://forum.kirupa.com/u/Lays)\
**Post date:** [January 9, 2010, 2:02am UTC](https://forum.kirupa.com/t/as-2-0-width-and-height-locked/302874/1 "2010-01-09T02:02:42Z")

</div>

Hi, i want to make 2d isometric cases into my map… The rules said : rotate 45 degrees, and modify the height of the case by itself/2…  
The problem is that when I try to modify the height like that :

```auto

mc._height = mc.height/2;

```

It modify the width too, its like when the Height and the Width are locked in the object property…

I need help! fast please!  
Thanks!
