Vizard 7 » Command Index » Vizard objects » window » <window>.mouse
7.7

<window>.mouse

Enable/Disable mouse navigation for the window

<window>.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.

Note: Mouse navigation can only be allowed for one window at a time, so enabling mouse navigation on one window will automatically disable mouse navigation on all other windows

Return Value

None

Example

viz.MainWindow.mouse(viz.ON)