Is there a way to do a guard statement or an early return in Lil?
I feel like I missed something, but I haven’t seen anything about it in the Lil or Decker documentation.
I have a function like:
on view do
if frames_since_last_step < 10
# stop the function execution here since its not time
return
end
# do the next animation step
end