Skip to main content
Participant
October 9, 2023
Answered

Script move video to another track

  • October 9, 2023
  • 1 reply
  • 826 views

Hello everyone! Currently, I want to use JavaScript to move selected video clips from track 1 to track 2, but I encountered an error and haven't been able to achieve it yet. Can someone help me with this? Thank you!

This topic has been closed for replies.
Correct answer bbb_999

trackItem.move() changes the temporal position of a trackItem within a track; it was never designed to move a trackItem, to different tracks. 

1 reply

bbb_999
Community Manager
bbb_999Community ManagerCorrect answer
Community Manager
October 9, 2023

trackItem.move() changes the temporal position of a trackItem within a track; it was never designed to move a trackItem, to different tracks. 

Participant
January 23, 2024

Hi @bbb_999,
I was recently trying to use trackItem.move() property to move a clip across the timeline within the same track but with version 24, I couldn't find the move method in the TrackItem class.
Is there any other way to move clips within the same track?