Distance travelled in pixels
Hello, pls i want to measure total distance of main actor in pixels which moves all over the scene ( left, right, up down from some start position). I found topics that people advice to use magnitude (startx-selfpositionx, starty-selfpositiony). I try that, but when actor returning back to start position the distance goes down, but i need increase it even its returning back. Is there a simple was to do that ? Thank for your help. And sorry for my English.