"Update" function has been removed in Godot4.0, how can we "update" when draw line?

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

In Godot 3.x, we use update() when drawing.
However, update() has been removed.
How does update draw?

:bust_in_silhouette: Reply From: kidscancode

It has been renamed to queue_redraw()

Thanks very much.

moonrise | 2022-09-23 16:56