- Preparing search index...
- The search index is not available
Chess Bots 
 
- usePlayHead(endDurationMs: number, startMs?: number): { 
 currentTimestamp: MotionValue<number>;
 playing: boolean;
 setTimestamp: ((timestamp: number) => void);
 togglePlaying: (() => void);
 }
- 
Parameters
- 
endDurationMs: number
- 
startMs: number = 0
 
 Returns { 
 currentTimestamp: MotionValue<number>;
 playing: boolean;
 setTimestamp: ((timestamp: number) => void);
 togglePlaying: (() => void);
 }
- 
currentTimestamp: MotionValue<number>
- 
playing: boolean
- 
setTimestamp: ((timestamp: number) => void)
- 
- (timestamp: number): void
- 
Returns void
 
 
- 
togglePlaying: (() => void)