Set Flag Index

Moves the flag to the target index in the timeline.

Syntax

store.dispatch({ type: "SET_FLAG_INDEX", payload: flagIndex });

Parameters

flagIndex

The frame to set the flag to.

Examples

Moves the flag index to frame 40.

store.dispatch({
  type: "SET_FLAG_INDEX",
  payload: 40
});