Set Player Index

Jumps to a specific frame in playback.

Syntax

store.dispatch({ type: "SET_PLAYER_INDEX", payload: index });

Parameters

index

The target frame index to jump to.

Examples

Jumps to frame 80.

store.dispatch({
  type: "SET_PLAYER_INDEX",
  payload: 80
});