If enemy.getLinearVelocityFromWorldPoint(enemy.WorldCenter).x < 0 Then 'going left
Batch.DrawRegion2(enemybird_framesFlip(0,enemyobj.frame Mod 6),vec2.x-(vpW*0.08),vec2.y-(vpH*0.01),vpW*0.13,vpH*0.17)
Else
Batch.DrawRegion2(enemybird_frames(0,enemyobj.frame Mod 6),vec2.x-(vpW*0.05),vec2.y-(vpH*0.01),vpW*0.13,vpH*0.17)
End If