I currently have a main.lua and a command.lua subclass file in my program. I am trying to reference an object from my command.lua file that is in the main.lua and I am getting the follow error
"attempt to index global “yoh” (a null value)
this is the line of code creating my error message yoh:apllyLinearImpulse(0,40, yoh.x, you.y)