RichTextLabel - clicks outside url tag

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bethleem

II have a RichTextLabel with the text “Hi. I´m a text and you must click here but you may not.” and I want to change this text in GDScript. So, if the player clicks in the url tag content, I catch it with meta_clicked signal and do stuff, all rigth.

But, if the player click in every other place inside de Richtexlabel but outside the url tag, I need to catch that and do other stuff. If I use input, it catches the clicks always, be in the url tag or not. Any way I can catch a “inverse meta_clicked” so to speak, a way to detect a click only if is not clicked in the url tag? I´m pretty new at “signal technology” and can´t figure it out.

Thx!

:bust_in_silhouette: Reply From: bethleem

Never mind. I just managed to code a dirty but efficient workaround that do the job. Signals rocks!