Plugin: keeping an object alive for the whole game

Indeed I have someplace in my code where I could do that. I’ll use 's solution as it looks cleaner, but thanks for giving me the idea anyway, this could prove useful.