Panel:DisableLerp
Example
Creates a function for changing the Lerp animation speed of a panel.
Resets the panel object's Panel:SetPos method and removes its animation table (Panel.LerpAnim
). This effectively undoes the changes made by Panel:LerpPositions.
In order to use Lerp animation again, you must call Panel:Stop before setting its SetPosReal
property to nil
. See the example below.
Creates a function for changing the Lerp animation speed of a panel.