I was following this tutorial on how to make my snake enemy change direction once it hits the edge marker, but once it hits the right edge marker, It changes direction BUT it changes back the other way and walks through the edge marker. I don't know what I'm doing wrong =/
<img src="http://imageshack.com/a/img29/7122/llfi.png" border="0" />