You’re reading the docs for Phaser v3.88.2. The latest is Phaser v4.1.0.

Phaser.Math.Easing.Back

Scope: static

Source: src/math/easing/back/index.js#L7

Static functions

In

staticIn(v, [overshoot])

Description:

Back ease-in.

Parameters:

nametypeoptionaldefaultdescription
vnumberNoThe value to be tweened.
overshootnumberYes1.70158The overshoot amount.

Returns: number - The tweened value.

Source: src/math/easing/back/In.js#L7
Since: 3.0.0


InOut

staticInOut(v, [overshoot])

Description:

Back ease-in/out.

Parameters:

nametypeoptionaldefaultdescription
vnumberNoThe value to be tweened.
overshootnumberYes1.70158The overshoot amount.

Returns: number - The tweened value.

Source: src/math/easing/back/InOut.js#L7
Since: 3.0.0


Out

staticOut(v, [overshoot])

Description:

Back ease-out.

Parameters:

nametypeoptionaldefaultdescription
vnumberNoThe value to be tweened.
overshootnumberYes1.70158The overshoot amount.

Returns: number - The tweened value.

Source: src/math/easing/back/Out.js#L7
Since: 3.0.0