Access Object A variable from Object B

Hi

I have 2 objects:

  1. ObjectA
  2. ObjectB

ObjectA has a variable in it called CoinCount set to 10.

I would like ObjectB to access the variable and -1 from it. How can I access it from ObjectB.

Thanks, Chris

Start here.