How to make an enemy chase a player but in a completely straight line instead of ziczac paternity with different size of sprite?

I found out that I have to make sure the width/length pixel of player and enemy has to be the same so they can both have the same x/y value to each other (ex: 32 for len * 25 for wid for sprite of both player and enemy), it forces me to draw an outline for them then use Once with Animation behavior to remove them which kinda annoying. Does anyone have the other way?

1 Like

could somebody make code that I could copy?