It sounds like you’re trying to ensure that the precomp containing the logo maintains its position relative to the text layer as the text scales down. To achieve this, you can use the following expression on the position property of the precomp layer:
javascript
textLayer = thisComp.layer("Text Layer Name"); // Replace "Text Layer Name" with the actual name of your text layer offset = 50; // Adjust this value to set the distance between the text and the precomp // Calculate the new position of the precomp based on the text layer's position and scale x = textLayer.transform.position[0] + textLayer.sourceRectAtTime().width / 2 + offset; y = textLayer.transform.position[1]; [x, y]
This expression calculates the x-position of the precomp based on the text layer’s position and width. The offset variable controls the distance between the text and the precomp. Adjust this value as needed for your layout. The y-position remains unchanged to keep the precomp vertically aligned with the text layer.
Apply this expression to the position property of your precomp layer, and it should maintain its relative position to the text layer as the text scales down.