Microsoft MakeCode

Enemy stop attacking


Hello! I am trying to make it so when the player crouches behind a bush the enemy doesn’t attack. How would I go about making the enemy stop attacking and resume attacking when the player isn’t crouching?
1 Like

Thank you!

Wait how do you crouch?
Edit: oh yea you press ↓ button

1 Like

Button down

1 Like

Thanks

1 Like