Error (103,1) cant fix

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

I am new to godot and i need help fixing this issue. I have tried all i know and i really need help. I was making a portal for a platformer from tutorial. This is the code. From what i can see there are no mixed spaces and tabs in the indentations. bolded is the error line.
func _on_hitbox_area_entered(area):
if (!area.lockPortal):

quote whole error, not just its ID.
Also, format the code so it looks readable like :

func ready():
       this is readable enough()

Inces | 2022-08-15 16:11

That (103,1) is just the line and character position the error was detected on in your script. That means nothing to us without the error message itself as well as the script to look at.

Based on your comment, I assume the error is related to an indention issue (?). If that’s the case, then there really IS an indention problem in your code, but we can’t possibly help you spot it without the code to look at. So, I’d suggest you post it, in its entirety. And, format it for the forum (via the { } button in the forum editor’s toolbar), or it won’t be helpful.

jgodfrey | 2022-08-15 21:16

:bust_in_silhouette: Reply From: SteveSmith

The area’s property “lockPortal” doesn’t exist.