<viz>.mouse

This command enables or disables mouse navigation

 

<viz>.mouse(
    state    

)

 

state

This can be either viz.ON or viz.OFF


Remarks

By default Vizard allows the user to navigate throughout the world using the mouse. Use this command to disable or enable mouse navigation.

Return Value

None

Example

viz.mouse(viz.OFF)

See also

<viz:mouse>.getPosition
<viz:mouse>.setVisible
<viz:mouse>.getState
<viz:mouse>.setTrap
<viz:mouse>.setScale
<viz>.pick