Add the highlighted nodes shown in the image below, location at the top of the image. You will need to create a new custom event for the MoveToCheck node and the Move node. You will also need to create a new local variable called LastMovetoActor and set its type to actor.