NavigationAction.getMouseButton

Return the number of the mouse button that triggered the navigation.

Return the number of the mouse button that triggered the navigation, or 0 if the navigation was not started by a mouse event.

class NavigationAction
uint
getMouseButton
()

Return Value

Type: uint

the mouse button number or 0