Skip to main content
Participant
December 19, 2025
Question

Automation Blocks - Copy Transform Position to Motion Position

  • December 19, 2025
  • 1 reply
  • 212 views

I'm trying to alter the "Copy Auto Reframe Track To Transform" to copy the Transform Effect position to the Motion position.

But I can't figure out why "is almost equal" keeps returning false even when the values are identical.

Could anyone give me a hand?

Sample console info:

 

execute script

prop vals: [[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5]]

compare [0.64375001192093,0.5] <-> [0.64375001192093,0.5] skip frame 1

1 reply

Mathias Moehl
Community Expert
Community Expert
December 19, 2025

Do you get this only for your modified script or also for the original one? Can you attach your script such that we can see exactly the code producing that output?

 

To troubleshoot this, I would add more console output to check what exactly goes wrong. Here I added more detailed output to "is almost equal":
870650iABBF463A1E5FBB60.png

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Participant
December 19, 2025

Thank you for your reply.

The original script is fine, it's just my version that errors.

I've attached my script, and I'll take a look at your notes to try to understand that function better.

Mathias Moehl
Community Expert
Community Expert
December 20, 2025

870925i7EA51B33A899D7E1.png

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects