Function InputSingleton.isActionJustReleased

Returns true when the user stops pressing the action event, meaning it's true only on the frame that the user released the button.

bool isActionJustReleased (
  const(String) action
) nothrow @nogc const;