Help for this page
if ($thing->position->x == 0 and $thing->position->y == 0) { ...; }
my $pos = $thing->position; if ($pos->x == 0 and $pos->y == 0) { ...; }