Use an 'easing in and out' animation

ease_in_out(power = "basic")

Arguments

power

The preset to use for the easing in cubic bezier function.