welcome to the forums.
actually you are posting on "projects" category. people showcasing their work.
but your problem is simple..
your function _on_terra_all_input_event() accepts variables: viewport, event, shape_idx.
instead of this vars, you putting "delta" var.
godot trying to say you are missing vars on your function. :)