Regular API function

simSetNavigationMode / sim.setNavigationMode

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

All regular API functions on one page