im writing a godot script and the engine tells me that theres something wrong with line 19 if anyone can tell me the fix

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By the_real_lonk

line 19 has the error heres what I put in that line

ray.cast_to = vector_pos

Check the line above it for syntax errors.

magicalogic | 2021-06-23 08:24

:bust_in_silhouette: Reply From: StopNot

At least you are missing an underscore.

ray.cast_to = vectorpos