Censor certain words on RichTextLabel

Godot Version

4.2.1 Stable

Question

Hello, I have a game which the character’s name is supposed to be mysterious, so every time it’s said, the word would be replaced by a glitchy animated sprite. Is there any way I could do that in Godot? (Shaders, Actual Node, etc?) I tried getting the Name’s global position, but the RichTextLabel doesn’t provide something for that. I also tried using a shader, but couldn’t figure out how I can censor only certain words

This is what im tryna to pull off

You can try using a custom BBCode text effect

2 Likes