Daikon Forge - Position dfLabel with screen position

I am using the following code which gets me the objects position on the screen, I just can’t seem to get the label to change it’s position. Just picked up DF so I am still learning the ropes.

dfLabel temp = (dfLabel)Instantiate(txtRow);
temp.Position = guiManager.ScreenToGui( Camera.main.WorldToScreenPoint( grid[col, row].Position ) );
temp.Text = text;

Make sure to enable after instantiation. For some reason dfGUI needs it.

so try adding “temp.enabled = true;” at the end of your code

I figured the best way to set a dfControl position is to use the relative position variable.

temp.RelativePosition = new Vector3(0.0f, 0.0f, 0.0f);