MCPcopy
hub / github.com/4ian/GDevelop / _removeActiveTween

Method _removeActiveTween

Extensions/TweenBehavior/TweenManager.ts:404–411  ·  view source on GitHub ↗
(
          tween: TweenInstance<float> | TweenInstance<Array<float>>
        )

Source from the content-addressed store, hash-verified

402 }
403
404 _removeActiveTween(
405 tween: TweenInstance<float> | TweenInstance<Array<float>>
406 ): void {
407 const index = this._activeTweens.findIndex(
408 (activeTween) => activeTween === tween
409 );
410 this._activeTweens.splice(index, 1);
411 }
412
413 /**
414 * Get tween progress.

Callers 3

pauseTweenMethod · 0.95
stopTweenMethod · 0.95
removeTweenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected