Files
story-studio/remotion/node_modules/@remotion/studio/dist/api/seek.js
2026-02-21 10:33:18 +01:00

14 lines
453 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.seek = void 0;
const remotion_1 = require("remotion");
/*
* @description Jump to a different time in the timeline.
* @see [Documentation](https://www.remotion.dev/docs/studio/seek)
*/
const seek = (frame) => {
var _a;
(_a = remotion_1.Internals.timeValueRef.current) === null || _a === void 0 ? void 0 : _a.seek(Math.max(0, frame));
};
exports.seek = seek;