Skip to content

Rerun Detection

Defined in: packages/isaacscript-common/src/classes/features/other/RerunDetection.ts:15

  • Feature

onRerun(): boolean

Defined in: packages/isaacscript-common/src/classes/features/other/RerunDetection.ts:60

Helper function to detect if the current run was starting using the “Rerun” option from the main menu.

Under the hood, this assumes that any run that is past the first floor and continues in the starting room of the run is a rerun.

In order to use this function, you must upgrade your mod with ISCFeature.RERUN_DETECTION.

boolean