Dimensions
Functions
Section titled “Functions”getDimension()
Section titled “getDimension()”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.
Returns
Section titled “Returns”Dimension
inDimension()
Section titled “inDimension()”inDimension(
dimension):boolean
Defined in: packages/isaacscript-common/src/functions/dimensions.ts:31
Parameters
Section titled “Parameters”dimension
Section titled “dimension”Dimension
Returns
Section titled “Returns”boolean
