Yes well, with the Bullet behavior you can work with the "Speed" and "AngleOfMotion"-expressions.
If the speed is over 0 the sprite is obviously moving and the angles of motion would be 0 for right and 180 for left.
You might be doing something more complicated, in which case a code snippet would indeed help like blackhornet mentioned.