# ?for loop in a if condtional statment?

**URL:** https://forum.kirupa.com/t/for-loop-in-a-if-condtional-statment/166494
**Category:** Uncategorized
**Created:** [October 20, 2005, 1:36pm UTC](https://forum.kirupa.com/t/for-loop-in-a-if-condtional-statment/166494 "2005-10-20T13:36:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![beenetto](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@beenetto](https://forum.kirupa.com/u/beenetto)
#### Post date: [October 20, 2005, 1:36pm UTC](https://forum.kirupa.com/t/for-loop-in-a-if-condtional-statment/166494/1 "2005-10-20T13:36:26Z")

</div>

is it possible to make a shortcut something like this.  
this one doesnt work, but I thought there could be a way to  
make it work

if (for(i=0;i\<25;i++){this.\_parent[“thb”+i].\_xscale===100}) {

```
			uncover();
		
                              }
```
