I found out you cant add tilemaps a an function input. I find that kinda annoying. I now use this “hack” to do it: