Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | 8bitsdeep |
I’m calling a function after a tween finishes.
This works fine:
tween.tween_callback(apply_damage)
But I need to pass an argument as well, none of these work.
tween.tween_callback(apply_damage(5))
tween.tween_callback(apply_damage, 5)
What is the correct way to do this? Is it possible?