hey guys, im currently running through the tutorial series by GDQUEST at https://www.gdquest.com/tutorial/godot/learning-paths/getting-started-in-2021/chapter/10.your-first-2d-game/
they just introduced the set_deferred() function in part of the scripting, I understand I think that it just delays the command inside the brackets until the next physics process starts (please correct me if im wrong) but I dont understand why I can't or at very least shouldn't just change it then and there.
he states that it is a safer action , but that leaves me with questions.
safer how? what can happen?
how will I know when to use it?
why dont we use it when we queue_free physics items?
when will I know when to use deferred over direct commands. is this something I can find inside documentation?
I have so many questions but am scared to ask so im taking a leap of faith in the godot community that I wont get flammed. please be kind. Thanks