Returns the name for a mouse button specified by number


See also Utility functions.

Signature:

buttonName = GetMouseButtonName(buttonNumber)

Arguments:

  • buttonNumber - A mouse button number (1-5) (number)

Returns:

  • buttonName - The name of the given mouse button (string)
    • Button4
    • Button5
    • LeftButton
    • MiddleButton
    • RightButton