Thanks for your reply, the file is an empty scene, we were able to figure out my problem. Here is the code that works, I needed to put a switch in there to test the if statement and set it to true or false, would be nice if you could use operators like ! on strings, but whatever this works now. int $switch = 0; string…