What's wrong with the follow example code? + why doesn't mine work? :(

I’m making a game where I need the enemy to follow the player. I messed around with the chase example, copying the code into my project and fiddling around with it but I can’t figure out why it’s not working.

1 Like

Thats because the extractor with other x is empty, it doesn’t know what to extract

1 Like

Thanks!

I think I did that except It kept resetting the other x from player to nothing.
Reloading the page fixed it though.
:+1: :+1: :+1: :fist_right: :fist_left: