Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | potatobanana |
in godot 3.5, this code work.
func _get_transition(delta):
match state:
state_dic.idle:
print( "something" )
but when i do in godot 4. i will get this error expression in match pattern must be a constant
how should i do it?
Not sure of the details, but does this seem related to your case?
jgodfrey | 2022-08-22 17:51