# Prop

**URL:** https://forum.kirupa.com/t/prop/98496
**Category:** Uncategorized
**Created:** [January 7, 2004, 9:30pm UTC](https://forum.kirupa.com/t/prop/98496 "2004-01-07T21:30:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Uli](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@Uli](https://forum.kirupa.com/u/Uli)
#### Post date: [January 7, 2004, 9:30pm UTC](https://forum.kirupa.com/t/prop/98496/1 "2004-01-07T21:30:11Z")

</div>

Hello,

What i’m trying to do is: check if one item of my movieclip is a button and if it is then check its vertical postion and if it’s \< 70 then disable the button…

so i’m using this but it doesn’t seem to work so if someone could tell me why?

onClipEvent(enterFrame){  
for(var prop in this){  
if(typeof this[prop] == “button”){  
if(this[prop].\_y \< 70){this[prop].enabled = false}else{{this[prop].enabled = true}  
}}}}
