# How to set the limitation for the workspace when using transform controller?

**URL:** <https://discourse.threejs.org/t/how-to-set-the-limitation-for-the-workspace-when-using-transform-controller/16109>\
**Category:** Questions\
**Tags:** transform-controls\
**Created:** [June 11, 2020, 2:11am UTC](https://discourse.threejs.org/t/how-to-set-the-limitation-for-the-workspace-when-using-transform-controller/16109 "2020-06-11T02:11:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlanXin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/alanxin/32/11380_2.png) [@AlanXin](https://discourse.threejs.org/u/AlanXin)\
**Post date:** [June 11, 2020, 2:11am UTC](https://discourse.threejs.org/t/how-to-set-the-limitation-for-the-workspace-when-using-transform-controller/16109/1 "2020-06-11T02:11:40Z")

</div>

Dear All,

As my [demo](https://jsfiddle.net/jxnx888/e630ufcv/50/), I set transform controller limitation in` scale and translate mode`. Objects cannot move out of the workspace.

So there are two issues that occurred.

First, I always check the position to give the limitation. Is that ok? or if there is an alternative way to do it because If the objects are not `Geometry`(such as an STL object), I cannot set the default size as 50 like the `Geometry`;

Second, If I rotate the object, it still can rotate the object out of the workspace, how can I check it?  
 ![图片](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/e/ed0b1918b77ce45366f175eacfecdb0bda52f907.png)
