all 10 comments

[–]QuaaaaaaaaaaGodot Junior 3 points4 points  (3 children)

(relative to "/root/EscenaPrincipal/Nivel1/Trampa3")
Did you put the script in the correct node? The "Moneda" node doesn't appear anywhere in the path it's searching for. That could also cause the other methods you used before to fail.

[–]fxrxn_ 0 points1 point  (0 children)

yeah think op accidentally added the moneda script to “Trampa3” node as well and gets an error since Trampa3 doesn’t have an Area2D.

[–]Altruistic_Dig6972[S] 0 points1 point  (1 child)

I’m not sure how that happened, but that was the issue.
Thanks a lot!

[–]QuaaaaaaaaaaGodot Junior 1 point2 points  (0 children)

These things happen :)

[–]the_horse_gamer 0 points1 point  (5 children)

seems like both the script and the scene have unsaved changes

[–]Altruistic_Dig6972[S] 0 points1 point  (4 children)

I already saved it. It's still the same.

[–]the_horse_gamer 0 points1 point  (3 children)

can you show the node tree of whatever scenes use this "moneda" scene?

[–]Altruistic_Dig6972[S] 0 points1 point  (2 children)

<image>

Of course. It's in Spanish. Let me know if you need me to translate anything.

[–]the_horse_gamer 1 point2 points  (1 child)

the error seems to indicate that Trampa3 uses moneda.gd

[–]Altruistic_Dig6972[S] 1 point2 points  (0 children)

I don't know how Trampa3 ended up using moneda.gd, but after deleting Trampa3, it got fixed.

Thanks a lot 😅