public Actions pause(long pause) {
    if (isBuildingActions()) {
      action.addAction(new PauseAction(pause));
    }

    return tick(new Pause(defaultMouse, Duration.ofMillis(pause)));
  }
public Actions pause ( long pause ) { if ( isBuildingActions ( ) ) { action . addAction ( new PauseAction ( pause ) ) ; } return tick ( new Pause ( defaultMouse , Duration . ofMillis ( pause ) ) ) ; }
Performs a pause.

@param pause pause duration, in milliseconds.
@return A self reference.