Need help detecting item amount in array

  1. try to delete and to readd this variable. dont forget to set this to integer.
  2. that because you are using “is child of” function. you should use “equals” function. I guess parent class of “log pickup” is “can pickup” so basically “log pickup” is “can pickup” too.