godot-4
I have a box that if you touch you get launched but you get launched when the game starts.
here is the code:
func bounce(): velocity.y = BOUNCE_VELOCITY func _on_area_2d_body_entered(body): bounce()
I fixed this