Skip to main content
Inspiring
November 30, 2016
Question

Best way to use cpCmndGotoFrame in Javascript?

  • November 30, 2016
  • 1 reply
  • 372 views

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!!

This topic has been closed for replies.

1 reply

Lilybiri
Legend
November 30, 2016

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.