Regular API function

simGetNavigationMode / sim.getNavigationMode

Description Retrieves the navigation and selection mode for the mouse. See also sim.setNavigationMode.
C synopsis simInt simGetNavigationMode()
C parameters
None
C return value
navigation mode if operation was successful, -1 otherwise
Lua synopsis number navigationMode=sim.getNavigationMode()
Lua parameters
Similar to the C-function counterpart
Lua return values
Similar to the C-function counterpart.

All regular API functions on one page