How to get action list? (3.0)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Tort
InputMap.get_action_list( ? )

What should I write in parentheses?

Upd.
No it’s not that. I want a list of keystrokes.

:bust_in_silhouette: Reply From: SingingApple

In the parentheses, you should put the action of which you are trying to get the action list of. It should be a string.
For example, the action can be “ui_up_”, “ui_down_” etc.

More info here: Docs

Hope this helps

Edit: What do you mean by ‘I want a list of keystrokes’ ?

Is if Input.is_action_just_pressed('action'):
It should work only if it is not pressed before.

Tort | 2018-02-17 08:06

OK. I understood.

SingingApple | 2018-02-17 09:30