[SUGGESTION] retrieve text color

  • 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!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I suppose you could always give the text an instance variable with the rgb value in it. Maybe more trouble than its worth though

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)