So I'm trying to make a movement in which the actor starts at 0,0 and moves until it hits the edge. Once it hits the edge I want it to turn 90 degrees, move down 5, turn another 90 degrees and continue this movement until it hits the bottom left corner. Once it hits the bottom left corner, I want my actor to teleport to the center of the world. I figured out how to get the actor to teleport but I'm struggling with getting the movement to work. I was trying to use the isAtEdge method but I realized that technically the actor is starting at the edge which is the part I'm stuck on.

