I'm having some trouble with the ScrollComponent and the "for loop". Any idea how to assign the "y" value for the layer "avatar" so to have a rectangle below each card?
Hey Giovanni Caruso - you can simply reference the layer.y/height directly within the for-loop. So, the logic you're looking for is:
y: layer.y + layer.height - 100
Where 100 is the height of the avatar. In your case, since you've scaled the layers by 0.94, you can offset it with the same factor, or also scale the avatars accordingly. :-)