How to stop smoothly

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Kwat
If heldobject :
     translation= lerp(translation, target, 0.5)

When heldobject is false how to stop smoothly wait lerp finish