How do I get ide variable with the console?

I am thinking of making custom blocks with cool capabiities but I don't know how.


This is the console:
image