Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

Help for desert levels


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?


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.


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


Yes. Use findNearestEnemy() to find it.