Axis lock

 From:  Barry-H
8968.1 
Is there a script that locks the axis when moving parts.
ie: pressing X will only allow movement on X axis ?

Barry