Skip to main content
Legend
Mar 2, 2024 3:24 AM UTC
Needs More Info

keyValue() return wrong value

When you move a layer on the timeline, keyValue() may return an undesired value.

tested with AE 2024 and Beta.

 

var proj = app.project;
var thisComp = proj.activeItem;
var selectedLayers = thisComp.selectedLayers;
for (var i = 0; i < selectedLayers.length; i++) {
  for (var k = 1; k <= selectedLayers[i].text.sourceText.numKeys; k++) {
    alert(selectedLayers[i].text.sourceText.keyValue(k))
  }
}

 

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Community Expert
Mar 12, 2024 11:11 AM UTC
JohnColombo17100380
Community Manager
Community Manager
Mar 5, 2024 12:16 AM UTC

Hi @Airweb_AE,

Thank you for reporting this issue. It appears to be new to 24.2. We now have a ticket open and will be investigating a fix for a future version of After Effects.

 

Thanks again,

- John, After Effects Engineering Team 

Translate
Dan Ebberts
Community Expert
Community Expert
Mar 2, 2024 6:02 PM UTC

I can confirm that behavior. Does seem to be a bug.

Translate