How to use p1Stats

Hello, I need to get the mobile points from p1Stats for part of my calculations, but my code keeps running into errors and saying “p1Stats is not defined”. How do I use p1Stats?

could you give me an example of how you are trying to use it?like code?