A sensor for use in an interactive electronic device. The sensor comprises a
base
member having at least one recess formed therein which is partially defined by
a peripheral wall thereof. Disposed within the peripheral wall of the base member
is at least one switch. Also disposed within the recess is a trigger ball which
is freely movable about the peripheral wall of the base member. The sensor is operative
to generate at least two different states corresponding to respective positions
of the sensor relative to a reference plane. The movement of the sensor relative
to the reference plane facilitates the movement of the trigger ball within the
recess, with one state being generated when the trigger ball is in contact with
the switch and another state being generated when the trigger ball is not in contact
with the switch.