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

Method getValue

Extensions/TweenBehavior/TweenManager.ts:434–440  ·  view source on GitHub ↗

* Get tween value. * * It returns 0 for tweens with several values. * * @param identifier Unique id to identify the tween * @returns Value of playing tween animation

(identifier: string)

Source from the content-addressed store, hash-verified

432 * @returns Value of playing tween animation
433 */
434 getValue(identifier: string): float {
435 const tween = this._tweens.get(identifier);
436 if (!tween) {
437 return 0;
438 }
439 return tween.getValue();
440 }
441
442 getNetworkSyncData(): TweenManagerNetworkSyncData {
443 const syncData = {

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
getValueMethod · 0.65

Tested by

no test coverage detected