i want to make if
condition. in that condition, if the condition is score = multiple of two. how to make the code?
if(score >= 2){
//removeChild(Batumc);
//removeChild(Batumc1);
//model soal
Soal_mc.angka1.text = mtk1.toString();
Soal_mc.op.text = "+";
Soal_mc.angka2.text = mtk2.toString();
//soal muncul
TweenLite.to(Soal_mc, 1, {x:350 ,y:180, alpha:1, ease:Expo.easeOut});
}
but i want this code
if(score >= 2)
become to
if(score multiple of 2){}