InputSingleton.actionPress

This will simulate pressing the specified action. The strength can be used for non-boolean actions, it's ranged between 0 and 1 representing the intensity of the given action. Note: This method will not cause any Node._input calls. It is intended to be used with isActionPressed and isActionJustPressed. If you want to simulate _input, use parseInputEvent instead.

struct InputSingleton
@nogc nothrow
void
actionPress
(
in String action
,
in double strength = 1
)

Meta