Skip to contents

Fade-out animation

Usage

fade_out(
  scene,
  duration = 1,
  easing = "smooth",
  direction = NULL,
  shift = 0.5,
  target_object = NULL
)

Arguments

scene

A Scene object

duration

Duration in seconds

easing

Easing function

direction

Direction to fade towards

shift

Amount to shift during fade

target_object

Optional ID of specific object to fade out

Value

The Scene object (invisibly) for piping