Accessing the character in RichTextEffect

Godot Version

4.2.2

Question

Hi, I want to access the character to create a rich text effect and I know in Godot 3 I could access it like this:

func _process_custom_fx(char_fx: CharFXTransform):
    var c = char_fx.character

but I cannot find anything on the documentation for the 4 version.

It’s the CharFXTransform.glyph_index property. You can see how to use it in the documentation here BBCode in RichTextLabel — Godot Engine (stable) documentation in English

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.