# \[MX2004\]Attack in 2 directions!-OR operator?

**URL:** <https://forum.kirupa.com/t/mx2004-attack-in-2-directions-or-operator/182997>\
**Category:** flash\
**Created:** [March 23, 2006, 1:07am UTC](https://forum.kirupa.com/t/mx2004-attack-in-2-directions-or-operator/182997 "2006-03-23T01:07:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RiderX](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@RiderX](https://forum.kirupa.com/u/RiderX)\
**Post date:** [March 23, 2006, 1:07am UTC](https://forum.kirupa.com/t/mx2004-attack-in-2-directions-or-operator/182997/1 "2006-03-23T01:07:13Z")

</div>

Okay, ive been trying for a looooooong time now, maybe i will eventualy find a less cody solution, lik i did with the enemies “dying” (all i had to do was make a blank keyframe, and have the hittest make the enemy go to that keyframe)

But for now i can’t find a solution.

As I was writing this post, I happened upon an idea. Should I just make another “attack” movie clip, only one that attacks to the left, and have THAT one play when the character is facing the left?

And I am so sure that that will work, that I’ll do it tomorrow when I’m less tired. But for now, I have a question, is there a way to include an “or” type boolean in an If statement? (like for instance && is the and operator, and ! is a negation/not, but there has to be an OR, right???)
