Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | rinart73 | |
Old Version | Published before Godot 3 was released. |
Is there a way to execute some code (for example adjust font ascending or draw a square) before drawing?
I tried to use:
_draw():
and
func _notification(what):
if what==NOTIFICATION_DRAW:
But it seems that both of them are actually called after widget self-drawing. So is there any pre-draw event?