@nitrogamestudios said:
I got a problem

The error says the fog variable is a string, not a node. Based on the screenshot, it looks like fog is a NodePath, not a node, so you'll need to get the node first and then change it's scale:
var fog_node = get_node(fog)
fog_node.scale *= GRID_SIZE