In the last code block the
should be placed after/outside of the if/else, otherwise it will never be toggled to true. Like so:
else: dissapear() set_physics_process(is_casting)
I just tried to address these, but there's a bug with the platform's code blocks: it wraps back the text every time I save. I see now, I probably entered it correctly the first time and it got messed up. I'm messaging the devs right away to address the bug.