Regular API function

simSetNavigationMode / sim.setNavigationMode

Description Sets the navigation and selection mode for the mouse. See also sim.getNavigationMode.
C/C++
synopsis
simInt simSetNavigationMode(simInt navigationMode)
C/C++
parameters
navigationMode: mouse navigation mode
C/C++
return value
-1 if operation was not successful
Lua synopsis sim.setNavigationMode(int navigationMode)
Lua parameters
Similar to the C-function counterpart
Lua return values
Python synopsis sim.setNavigationMode(int navigationMode)