sm.gui.getKeyBinding

Returns the set binding for an action as a string

Kind: Function

Environments: Game

Game

sm.gui.getKeyBinding( action, hyper )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
action string The action
hyper (optional) boolean If the string should contain hyper text (Defaults to false)

Returns:

Type Description
string The key binding