Unhandled error: typeError: cannot read properties of null (reading 'hidden')

when I try to do this:

pet.shapeShift();
hero.jumpTo({x:[insert number here], y:[insert number here]});

it does not work and gives me this:


help please.

turns out the problem was that i was trying to command the fake peasant!