0 votes

I looked for so long but couldn't find the issue.I used the same code in another scene and it worked.That scene's only diffrence is children count.This is the code:

func check_end():

for i in $Spikes.getchildren()

if i.isingroup("spike"):


Godot version 3.2
in Engine by (70 points)

do a better search, this error is very common, i answered a similar question a few days ago on this very Q&A

1 Answer

+1 vote
Best answer

$Spikes does not exist. At least not with that name/path

by (1,530 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.