At least it works! Most important stuff on game dev haha!
I hope I can manage to make things more flexible on the next update.