Godot Version
4.5
Question
I thought ENUMS for controls were assigned by the engine core?
I have this error popping up.
Cannot assign 3 as Enum "TextServer.AutowrapMode": no enum member has matching value.
I used 3 in place of the enum from the docs since it wouldn’t recognize the variable name.
rich_text.autowrap_mode = 3
As per the docs:
AutowrapMode autowrap_mode = 3
void set_autowrap_mode(value: AutowrapMode)
AutowrapMode get_autowrap_mode()
This is what I want: But the error says : Identifier “AutowrapMode” not declared in the current scope.gdscript(-1)
rich_text.autowrap_mode = AutowrapMode.AUTOWRAP_WORD_SMART
Is there a way to fix this? I’m creating the richtext box in code but my module has Extends Node3d
