Microsoft MakeCode

Dodging

How can I make an enemy dodge projectiles?

Well you can have it create a vector going in the opposite direction and add them all together?