I cant share the game however i can share the code the second array works as intended but the first doesnot
what i want it to do is
check if there is a player if there is one move it in that direction
but if there is another sprite go towards that one instead
(the velocity 0 things were me trying to fix it they don’t do anything)
basically both do the same thing but the top one wont work