yes ur right i need an else statement i used this bulletEmitter.rate = (frontGunGroup.rotateZ % 90) ? 0 : 25; //code to make emit on 90 degree intervals however it emits with a rotate value of 0 i need to omit this value any ideas how