Slowing Time | Godot Academy

Time slowing code:

if velocity.length():
    Engine.time_scale = 1.0
else:
    Engine.time_scale = 0.05
Subscribe to my weekly newsletter, receive updates on new tutorials and courses: