Thanks for the fast answer.
I tried some differnet ways. Every single one had a ".toWorld" expression.
Here the final solution:
The serveral object had expressins in
thisComp.layer("xPos").effect("Abstand Icons")("Schieberegler")*(index -1)
relativeXPosition = (Math.abs((thisComp.width/2) - thisLayer.toWorld(thisLayer.transform.anchorPoint)[0]))+thisComp.layer("xPos").effect("MaximumGroese")("Schieberegler");
if(relativeXPosition <= thisComp.layer("xPos").effect("MaximumDistanz")("Schieberegler")){
relativeXPosition = thisComp.layer("xPos").effect("MaximumDistanz")("Schieberegler"); }
zPosition = relativeXPosition;
XAbstand = (thisComp.width/2) - thisLayer.toWorld(thisLayer.transform.anchorPoint)[0] ;
rechnung = 100-(Math.abs(XAbstand/10));
scaleVar = [100,100,100];
if (rechnung <= thisComp.layer("xPos").effect("kleinste skal")("Schieberegler")){
scaleVar = thisComp.layer("xPos").effect("kleinste skal")("Schieberegler");}
else{ scaleVar = rechnung;}
scale = [scaleVar,scaleVar,scaleVar];
XAbstand = (thisComp.width/2) - thisLayer.toWorld(thisLayer.transform.anchorPoint)[0] ;
rechnung = XAbstand/4;
if (rechnung <= -thisComp.layer("xPos").effect("MaximumDreheung")("Schieberegler")){
yRotation = 90-thisComp.layer("xPos").effect("MaximumDreheung")("Schieberegler");}
else if(rechnung >= thisComp.layer("xPos").effect("MaximumDreheung")("Schieberegler")){
yRotation = 90+thisComp.layer("xPos").effect("MaximumDreheung")("Schieberegler"); }
else{ rotation = 90+rechnung;}
XAbstand = (thisComp.width/2) - thisLayer.toWorld(thisLayer.transform.anchorPoint)[0] ;
rechnung = 100-(Math.abs((XAbstand)/thisComp.layer("xPos").effect("Deckkraft")("Schieberegler")));
if (rechnung <= 50){
opacity = 0;}
else{ opacity = 100;}
The object was parented to a Null-Object which had several Slider (7: for the distance, size, rotation, maxRotation, Transparency, smalScal, distance Elements) to have alterable Elements. The expressions work for several Elements so the first Element can be duplicated and replaced. There is only one important part that need to be memorised: The layers need to be in the right order because of the "index"- part in the expression (The null-object needs to be the last).
Hope this helps for future questions!