There is not much reason for the square to move faster, you can just clear all the enemies first and then move the square.
yeah . i will surely do it
thank you for ur feedback