Creatures of Different Sizes

Rules
Rule

Legacy content. This is the pre-remaster version.Read the remastered version

Source Core Rulebook pg. 475

In most cases, you can move through the space of a creature at least three sizes larger than you (Table 9-1). This means a Medium creature can move through the space of a Gargantuan creature and a Small creature can move through the space of a Huge creature. Likewise, a bigger creature can move through the space of a creature three sizes smaller than itself or smaller. You still can’t end your movement in a space occupied by a creature.

Tiny creatures are an exception. They can move through creatures’ spaces and can even end their movement there.

Core Rulebook pg. 475