[Solved] How to Change Origin on Nested Components?

Hi all, hopefully someone can help me out here.

I’ve created a Component which is just a Text Layout, Data bound to a String value and set to ‘Hug’ both width and height, so that it can grow to the size of the string input.

I’ve then got a pentagon shape in a second Artboard, which has a Target placed at each of it’s 5 points. I’ve then made 5 instances of the Component and used a Translation Constraint to line them up with their corresponding Target.


That all works fine but the next part is what I’m struggling with. I want to be able to adjust the Origin of each component instance, however it doesn’t seem I can adjust the Origin on a nested component. I have tried using ‘Y’ to enter Freeze mode and adjusting, but it just moves the entire component, not the origin.

My next step was to try and Data Bind the Origin in the component itself, but it is not giving me this option. I then thought that maybe I would be able to use Timelines, Events and the State Machine to adjust the Origin, but it seems I can’t set it as a keyframe for the component like I can other elements. And it’s children are Layouts and don’t have an Origin to set.


The reason I want to set this up this way is so that when the string in the nested component adjusts it’s size, it does it in the right direction and doesn’t overlap the pentagon. Does anyone have any advice on how I might best achieve this?