Help for desert levels


#1

Hey i’m confused as to how you do “the mighty sand yak” level. Could you please help me Because i haven’t figured the level out yet?


#2

The concept is relatively simple. Sand yaks are enemies. So, find the nearest enemy, then, if they are closer than ten meters to you, move ten meters to the right.


#3

so you’re saying to use (sand yak) as my enemy? :neutral_face:


#4

Yes. Use findNearestEnemy() to find it.