The motion sensor designed for the WeDo Construction Set can detect objects within a range of 15 cm, depending on the design of the object, when attached to the LEGO® USB Hub.
The motion sensor is automatically detected by the WeDo Software when attached to the LEGO® USB Hub.