Set Skeleton
Switches between skeleton views.
Syntax
store.dispatch({ type: "SET_SKELETON", payload: skeletonMode });
Parameters
skeletonMode
The target skeleton visual to switch to. The available modes are 0
for normal view, 1
for skeleton view with sprites visible, and 2
for skeleton view with sprites hidden.
Examples
Enables skeleton view with sprites visible.
store.dispatch({
type: "SET_SKELETON",
payload: 1
});