I had finally got a good (good enough) level editor going so I decided to export it to my game. The only difference is my game uses tile maps (I will take autotiling another day) whereas the test editor I set up uses sprites. Everything was working fine (except I can't change Mouse.X to touch.X in the code because it automatically thinks that I am touching 0,0 whenever I stop touching.) Heres my test editor link.
But when I put it into my game it doesn't work... (ignore most of the game. Only pay attention to the level editor event sheet and layout.)
If anyone can tell me how to fix the code that would be great! Also if you have any tips on autotillers or know how I can get it working mouse free I'll be rather greatful!