Garry's Mod Wiki

math.ease.InBack

  number math.ease.InBack( number fraction )

Description

Eases in by reversing the direction of the ease slightly before returning.

This doesn't work properly when used with Lerp as it clamps the fraction between 0 and 1. Using your own version of Lerp that is unclamped would be necessary instead.

Arguments

1 number fraction
Fraction of the progress to ease, from 0 to 1

Returns

1 number
"Eased" Value