Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Best way to use cpCmndGotoFrame in Javascript?

Engaged ,
Nov 30, 2016 Nov 30, 2016

Hello,

If I wanted to use the cpCmndGotoFrame command in Javascript, is the following the best way to do it?  Assume I want to jump to frame 850..

window.cpAPIInterface.setVariableValue('cpCmndGotoFrame',850)

I am asking because I do not see what I am looking for in the Common JS documentation.

Thanks for any help!!

346
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2016 Nov 30, 2016
LATEST

That is what I would use, but hope you know that this system variable will not release the playhead at frame 850? I would never use JS for this purpose, but an advanced or shared action.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources