Onion Skins Before

Adjusts how many frames onion skinning renders before the current frame.

Syntax

store.dispatch({ type: "SET_ONION_SKIN_FRAMES_BEFORE", payload: framesBefore });

Parameters

framesBefore

The number of frames to render onion skinning before the current frame.

Examples

Renders 5 frames of onion skinning before the current frame.

store.dispatch({
  type: "SET_ONION_SKIN_FRAMES_BEFORE",
  payload: 5
});