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. In a future release, a more differentiated return value might be available
Lua synopsis number result=sim.setNavigationMode(number navigationMode)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page