A hook that lets you manage state for your game object.
When the state is updated via the setter, it triggers a re-render of the associated game object.
The initial value for the state.
A hook that lets you manage state for your game object.
When the state is updated via the setter, it triggers a re-render of the associated game object.