MCPcopy Index your code
hub / github.com/jabbany/CommentCoreLibrary / gotoAndPlay

Method gotoAndPlay

src/scripting/api/Tween/Tween.ts:126–133  ·  view source on GitHub ↗
(position:number)

Source from the content-addressed store, hash-verified

124 }
125
126 public gotoAndPlay(position:number):void {
127 this._currentTime = position;
128 if (!this._isPlaying) {
129 this._isPlaying = true;
130 this._timer.start();
131 }
132 this.step(this._target, this._currentTime, this._duration);
133 }
134
135 public togglePause():void {
136 if (this._isPlaying) {

Callers 2

playMethod · 0.95
setPlayTimeMethod · 0.80

Calls 1

startMethod · 0.65

Tested by

no test coverage detected