[SUGGESTION] retrieve text color

Discussion and feedback on Construct 2

Post » Fri Jan 23, 2015 6:37 pm

Hey there,

well, I think the title says it all; it'd be great if we could retrieve the parameters (RGB) of a Text object's color.
It would be useful when you want to change the Text's color when the cursor is hovering it, then change the color back to normal when the cursor's not hovering it for instance. Also could be useful if you want to store the current Text's color into variables.

I'm aware this isn't a priority and that everybody can live without it except maybe in certain rare cases. But I feel like it wouldn't be too hard to implement since we can already change a Text object's color...

Thanks for reading!
B
11
S
3
G
3
Posts: 206
Reputation: 2,379

Post » Sat Jan 24, 2015 6:03 pm

I suppose you could always give the text an instance variable with the rgb value in it. Maybe more trouble than its worth though :)
B
51
S
16
G
9
Posts: 1,098
Reputation: 11,252


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests