Ah. I see now. You could try putting the cast before the spawn node instead of after it. It would be a class cast. Something like this: