How to use the click event of a tile?

Hi,

is it possible to detect the click event of a tile to use it to change appearance of an object of the tile itself?
Example:
when the click of a tile exists, change the color of a lable inside the tile.
Explanations:
Using the new connection to Tuya there is a delay of couple of seconds for the response.
I would like to have a direct response of the clicked tile as a prefetch of the final result, so I do not click all the time not knowing if it was successful or not.

LG, Jiří