• A shorthand for BpxTimer.of.

    Parameters

    • frames: number
    • Optionalopts: {
          delayFrames?: number;
          loop?: boolean;
          onGamePause?: "pause" | "ignore";
          paused?: boolean;
      }
      • OptionaldelayFrames?: number
      • Optionalloop?: boolean
      • OptionalonGamePause?: "pause" | "ignore"
      • Optionalpaused?: boolean

    Returns BpxTimer

    $timer(60, { loop: true });