I’ve moved your post the scripting forum, it wasn’t about anything 2D. Also, please use code-tags when posting code.