Set Editor Focuser

Switches the rider that the editor camera should focus on.

Syntax

store.dispatch({ type: "SET_EDITOR_FOLLOWER_FOCUS", payload: focusIndex });

Parameters

focusIndex

The target rider to focus on.

Examples

Switches the editor camera focus to rider two (2).

store.dispatch({
  type: "SET_EDITOR_FOLLOWER_FOCUS",
  payload: 1
});