Dragging Sensors

Dragging sensors are a special kind of sensors that not only track users motion but also move the objects within the same group as the sensor. There are three type of dragging sensors:  The above sensors all share the following fields:  The following events are common to all the sensors:  In order to actually move the shapes you should place the shapes inside a Transform node. The Transform node should be in the same group as the sensor. You then need to route this events to fields in a Transform group. See the examples provided for each sensor. 

Note that, for all sensors, the sensor should NOT be placed inside the same Transform group as the shapes that one wishes to move. The following examples provide an example of the difference in behavior for the different positions of the sensor within the file: 
PlaneSensor INSIDE Transform
PlaneSensor OUTSIDE Transform

When the Sensor is placed inside the Transform things don't work as expected. The reason for this strange behavior is that the sensors coordinate system is being altered as the shape is dragged because the coordinate system for the sensor is the same as the shape. Placing the sensor outside the transform solves the problem. 

If using multiple sensors in the same group it is up to you to specify which does what, they will all generate events when any of the shapes within the group is affected. 

If using multiple drag sensors in nested groups then the inner group sensors grab the users action and the outer group sensors will ignore it.