![]() |
![]() |
Interaction > Creating sensors > Mouse sensor
Mouse sensor
A mouse sensor uses the left, middle, or right mouse click, or a mouse over to launch a reaction.
You can add a mouse sensor to an object or to the webcam. When the mouse sensor is on the webcam, the interaction is triggered when the surfer moves the mouse over the background. The mouse sensor on a webcam is used for navigation handles, such as orbiting and panning.
When surfers move the mouse over the object, the cursor changes to indicate that they can interact with that object. You can select which cursor appears.
To create a mouse sensor:
- Select an object.
- Choose Interaction > Sensors > Mouse.
A new mouse sensor appears in the Interaction Editor.
- To link the sensor to a reaction, expand the sensor and do one of the following:
- Drag from an event to a reaction.
- Shift-click an event and a reaction, then choose Interaction > Link Reaction, or press Ctrl+L .
- Switch to Browse mode to test the interaction.
To change the cursor associated with a sensor:
- In the Interaction Editor, select the sensor. (Do not select the linked event.)
- In the Parameter Editor, select a cursor type from the list.
- Switch to Browse mode to test the interaction. Move your cursor over the object with the mouse sensor to see the cursor you selected.
![]() |
![]() |