# || problem

**URL:** <https://forum.kirupa.com/t/problem/297992>\
**Category:** flash\
**Created:** [October 12, 2009, 1:48am UTC](https://forum.kirupa.com/t/problem/297992 "2009-10-12T01:48:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Press\_Tilty](https://avatars.discourse-cdn.com/v4/letter/p/e480ec/32.png) [@Press\_Tilty](https://forum.kirupa.com/u/Press_Tilty)\
**Post date:** [October 12, 2009, 1:48am UTC](https://forum.kirupa.com/t/problem/297992/1 "2009-10-12T01:48:05Z")

</div>

okay, so i have a if statement that looks like this:

```auto

if (!this.hitTest(_root.rwall1 || _root.rwall2)){
		_global.rSpeed = 8;
	}else{
		_global.rSpeed = 0;
	}

```

but it only works if i comment out one. (there is a movieclip named for each one) for example, if i block comment out \_root.rwall1, it will detect my rwall2 collision, and vice versa. it wont detect either if they are both non-commented.

whats the problem?
