# Adjusting simple button .y losing button functionality

**URL:** <https://forum.kirupa.com/t/adjusting-simple-button-y-losing-button-functionality/266407>\
**Category:** Uncategorized\
**Created:** [July 19, 2008, 9:35pm UTC](https://forum.kirupa.com/t/adjusting-simple-button-y-losing-button-functionality/266407 "2008-07-19T21:35:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![r\_k](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@r\_k](https://forum.kirupa.com/u/r_k)\
**Post date:** [July 19, 2008, 9:35pm UTC](https://forum.kirupa.com/t/adjusting-simple-button-y-losing-button-functionality/266407/1 "2008-07-19T21:35:54Z")

</div>

I’m trying to dynamically move a “more info” button right under a block of text based on the height of the text. The problem is when I move the button in code, the button is no longer clickable(??). I’m using the CS3 IDE and creating a simpleButton. simpleButton is supposed to inherit the displayObject class so I don’t understand why this is happening. If I trace out the button reference, it traces [object SimpleButton]. I have a textfield named ‘txt’ and button named ‘btn’ on the stage.

```auto
btn.y = txt.y + txt.textHeight + 10

```
