Function 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.

void actionPress (
  const(String) action,
  const(double) strength = 1.00000
) nothrow @nogc;