Skip to content

Dimensions

getDimension(): Dimension

Defined in: packages/isaacscript-common/src/functions/dimensions.ts:10

Helper function to get the current dimension. Most of the time, this will be Dimension.MAIN, but it can change if e.g. the player is in the mirror world of Downpour/Dross.

Dimension


inDimension(dimension): boolean

Defined in: packages/isaacscript-common/src/functions/dimensions.ts:31

Dimension

boolean