Need to pause the game, so it work good now. Question is about how to cast to map to get variables from it.