I’m assuming you’re using pulp? I don’t know much about it but you could ask in here: https://discord.gg/playdatesquad
Yeah I figured it out, but I didn't like pulp so I eventually just created a completely different game in Lua. It's not the best, but I suck at making games and have never used lua, so I think it's pretty good for my standards :D