Can't input tile location into function

I cannot input a tile location into a function and I really need to do that for my water physics project. Can anyone help with this? Thanks in advance!

this is something that I am constantly annoyed by but unfortunately there is no way to do this. the easiest workaround is to just pass the column and row from the location in as two number arguments, which is tedious but works.

3 Likes

I’m already doing that but thanks!

or you could go into Javascript and use code that I will paste below

namespace functionsP2{
     export function example (loc: Location) {
          stuffstuffstuff();
     }
}