I am having troubles with failed to cast on null, I dont know where to begin I am kinda new and my code is kinda big.
Link to the project
I am having troubles with failed to cast on null, I dont know where to begin I am kinda new and my code is kinda big.
Link to the project
Welcome @kknuser and nice game!
Running the game in debug mode indicates that the sprite mirror_master might be referenced inside the forever loop before it is created.
It looms like the reason your getting the error is because your trying to reference the sprite “mirror_master” in the forever loop before it’s created: