SOLVED - Quick tips using text variable

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Julien
Posts: 78
Joined: Sat Sep 28, 2019 7:05 pm
Location: Cambodia

Hi there.
I’m testing to change the background color of a rectangle using a text variable.
My idea is to use buttons/rectangles to set differents -colors- values, so these actions will trigger my rectangle background color.

I have a variable helper showing that my “set value” actions are working. But the change of background’ color doesn’t work.
I can achieve this test with true/false variables (one for each colors..). But, if that’s possible, I’m looking for an easiest option with only one text variable. Or other alternatives.

I think that I’m missing something on my Set Value actions, but I can’t figure out what’s the problem :/
Project .zip is attached.
Julien
Attachments
test variable color.zip
(11.97 KiB) Downloaded 133 times
4 - logic black.jpg
4 - logic black.jpg (184.43 KiB) Viewed 7994 times
3 - red.jpg
3 - red.jpg (201.26 KiB) Viewed 7994 times
2 - blue.jpg
2 - blue.jpg (201.33 KiB) Viewed 7994 times
1 - text variable.jpg
1 - text variable.jpg (184.31 KiB) Viewed 7994 times
Last edited by Julien on Thu Mar 27, 2025 4:08 am, edited 1 time in total.
Mac, pro version always updated :)
User avatar
Julien
Posts: 78
Joined: Sat Sep 28, 2019 7:05 pm
Location: Cambodia

Solved!

Text variables can have the action "Set Variable Value". I thought the only action available was "Set Value".
All good! I learned something new today (thanks the forum) :D
Julien
Mac, pro version always updated :)
Post Reply