How to limit theTransformControl move space

solution

This link can also be used as a reference, hopefully to help others with this problem