roger.magnusson wrote:- Code: Select all
local test = comp:AddTool("TextPlus")
test.StyledText = "Hello"
test.Size = 0.05
test.Red1 = 1
test.Green1 = 1
test.Blue1 = 0.5
If you hover over the GUI elements in the Inspector, you can see the name of the variable you need to use in the status bar in the bottom left of the Fusion window.
Thank you so much, Roger. That trick works for many fields, but does not work for Color. Hovering over the Color / Color popup does not show anything in the bottom left field.
I have a similar issue. I'd like to move the text. It appears that test.CenterZ is valid, however test.CenterX and test.CenterY are not. That kind of makes sense since the fusion window shows "Center" for both X and Y. However, I do not know what is valid for these.