Please give us a condition to compare/check the Color of a Text Object

Dear Gdevelop team,

I noticed that we don’t have a condition to check the Color of the text

Is this a limitation, or was it never implemented because nobody asked for it?
I just happened to need this condition now, and it never occurred to me that it wouldn’t be available, since we already have many conditions for text.


image

Unless it’s hidden somewhere and I’m not seeing it.

I checked if by chance its not text instead of number but nah

And only work around i can think of is giving your text object variable called color and now changing that variable to color code and setting color of text to its own color variable
And so you could also check that variable
So functionality is there just as workaround

Yeah, I guess we can do this. I actually already do this for some events.

I just find it a bit weird that we don’t have a direct way, it seems like a simple thing.

i don’t think you can check any colours directly in the conditions? tint of sprite or the colour of a light etc. i think its pretty rare that you’d need it, and you can work around it but it might be nice to have it there as an option!