Noob... UNO maxed out but Mega wont run Matrix?

not all code is 100% compatible:

https://thecustomizewindows.com/2018/05/difference-between-arduino-uno-and-arduino-mega/