Calling functions in other script components

Alright, thanks!

So, in that case - I’m trying to make a system where one script contains all the level/grid/state information.
How should I set up a system where every object moving in that grid, needs to call a “can_move_up_from_position(x,y)” with a messaging system?

I may just be used to another way of thinking when coding, but, I’m not sure how to do this without making a ton of things inside the on_message function