- Edited
func roll():
rolling = !roll_timer.is_stopped()
var tween = get_tree().create_tween()
if Input.is_action_just_pressed("roll") && roll_cooldown.get_time_left() == 0:
roll_timer.start(roll_time)
roll_cooldown.start(roll_time * 5)
tween.tween_property($CollisionShape2D, "rotation_degrees", 360, 0.5)
$CollisionShape2D.rotation_degrees = 0
The error is step:<Tween#-9223372007695973158>: started with no Tweeners
Here's the function where the problem is, any idea what's happening?