I've built a 2D platformer and this logic works well for it, but for some reason I cannot get it working with my top down game. If anyone knows what I'm doing wrong, I'll be very grateful. Thanks!
htt ps://w w w. dropbox.com/s/3tic7kylnrfdwue/DiHa.capx?dl=0