-
Scripting question: Keyframe Interpolation control beyond only 2 options
Hello
I’ve been trying to write a script which changes keyframe interpolation / spatial interpolation to LINEAR.
(Right click a position keyframe, click ‘keyframe interpolation’, see 4 options under ‘spatial interpolation’.
However, I understand the scripting control to be: app.item(x).layer(j).position.setSpatialAutoBezierAtKey(i, false);
…where the boolean value at the end toggles between ‘continuous bezier’, and ‘auto bezier’, and this does not give access to the other two options available via the GUI i.e., ‘Bezier’, and ‘Linear’.
Can anybody advise on how to achieve my goal?
Thanks!
app.item(x).layer(j).position.setSpatialAutoBezierAtKey(i, false);