? _x and _y cordinate

wich xiff class do I need to use to constantly monitor a users movement in a 3d space or just see a users variable without any additonal action? Is it possible at all?