# For..in using this?

**URL:** <https://forum.kirupa.com/t/for-in-using-this/307491>\
**Category:** Uncategorized\
**Created:** [April 4, 2010, 4:54pm UTC](https://forum.kirupa.com/t/for-in-using-this/307491 "2010-04-04T16:54:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexWD](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Post date:** [April 4, 2010, 4:54pm UTC](https://forum.kirupa.com/t/for-in-using-this/307491/1 "2010-04-04T16:54:06Z")

</div>

Is it possible to use a for…in loop using this? I tried, but it doesn’t seem to work, is there an alternative way to do this?

```auto
for( var prop in this)
{
    trace(this[prop]);
}

```

Doesn’t give an error, but it doesn’t work either.
