For some reason I can figure out all the complicated stuff but the really basic stuff just seems to not click. Right now I have a variable in playmaker and called setkey and I am trying to get the value in c# but it seems to be having a problem. The line I am using is: Num = theFsm.FsmVariables.GetFsmInt("setKey").Value;. but I keep getting the error nullreferenceexception.